Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006916/0.0006916, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8592/0.8592, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001329/0.001329, allocations: 237.6 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6512/0.6512, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.425e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002008/0.002033, allocations: 1.479 MB / 0.6478 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003603/0.002393, allocations: 140.5 kB / 0.6479 GB, free: 216 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.002427, allocations: 0 / 0.6479 GB, free: 216 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 5.004e-05/0.002478, allocations: 3.938 kB / 0.6479 GB, free: 212 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.002562, allocations: 7.938 kB / 0.6479 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.002842, allocations: 27.91 kB / 0.6479 GB, free: 176 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.002944, allocations: 39.91 kB / 0.648 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.003073, allocations: 19.97 kB / 0.648 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.003168, allocations: 23.92 kB / 0.648 GB, free: 92 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.003218, allocations: 11.98 kB / 0.648 GB, free: 80 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.003236, allocations: 8 kB / 0.648 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.003317, allocations: 43.89 kB / 0.6481 GB, free: 28 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.003333, allocations: 3.938 kB / 0.6481 GB, free: 24 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.003353, allocations: 8 kB / 0.6481 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.235/0.2383, allocations: 74.14 kB / 0.6482 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2383, allocations: 0 / 0.6482 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2383, allocations: 0 / 0.6482 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.2383, allocations: 2.344 kB / 0.6482 GB, free: 55.89 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00037/0.2387, allocations: 280.8 kB / 0.6484 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2388, allocations: 12.59 kB / 0.6484 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.2388, allocations: 34.92 kB / 0.6485 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007018/0.2395, allocations: 213.8 kB / 0.6487 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.124e-05/0.2396, allocations: 108 kB / 0.6488 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.2396, allocations: 3.781 kB / 0.6488 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.2396, allocations: 4.031 kB / 0.6488 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.24, allocations: 197.6 kB / 0.649 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.24, allocations: 2.531 kB / 0.649 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.24, allocations: 384 / 0.649 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.24, allocations: 5.625 kB / 0.649 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.2405, allocations: 284.7 kB / 0.6492 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.2412, allocations: 394.5 kB / 0.6496 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.2418, allocations: 291.7 kB / 0.6499 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.242, allocations: 105.1 kB / 0.65 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.242, allocations: 3.25 kB / 0.65 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.242, allocations: 32.53 kB / 0.65 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.714e-06/0.242, allocations: 0.5 kB / 0.65 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0006325/0.2427, allocations: 309 kB / 0.6503 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.2427, allocations: 56.28 kB / 0.6504 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.2428, allocations: 122.2 kB / 0.6505 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.2428, allocations: 26.41 kB / 0.6505 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.2428, allocations: 92.09 kB / 0.6506 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.2428, allocations: 9.547 kB / 0.6506 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.2429, allocations: 19.45 kB / 0.6506 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.315e-05/0.2429, allocations: 320.8 kB / 0.6509 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2431, allocations: 97.16 kB / 0.651 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.2432, allocations: 91.03 kB / 0.6511 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.2436, allocations: 179.4 kB / 0.6513 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2436, allocations: 0.5 kB / 0.6513 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003746/0.2439, allocations: 215.2 kB / 0.6515 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.244, allocations: 6.344 kB / 0.6515 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.244, allocations: 0 / 0.6515 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.244, allocations: 2.406 kB / 0.6515 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2441, allocations: 36.78 kB / 0.6515 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2441, allocations: 0 / 0.6515 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.2442, allocations: 37.28 kB / 0.6516 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2442, allocations: 0 / 0.6516 GB, free: 54.42 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/0.2443, allocations: 122.4 kB / 0.6517 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.2443, allocations: 5.688 kB / 0.6517 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.2443, allocations: 14.36 kB / 0.6517 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2443, allocations: 1.219 kB / 0.6517 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2443, allocations: 3.094 kB / 0.6517 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2443, allocations: 0.875 kB / 0.6517 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.2445, allocations: 166.6 kB / 0.6519 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2445, allocations: 1.375 kB / 0.6519 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.2446, allocations: 33.11 kB / 0.6519 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2446, allocations: 1.688 kB / 0.6519 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2446, allocations: 2.109 kB / 0.6519 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2446, allocations: 0 / 0.6519 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2446, allocations: 1.828 kB / 0.6519 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.245, allocations: 318.3 kB / 0.6522 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.245, allocations: 9.172 kB / 0.6522 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.245, allocations: 4.531 kB / 0.6522 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2451, allocations: 29.88 kB / 0.6523 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.2452, allocations: 4.672 kB / 0.6523 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.2452, allocations: 4.344 kB / 0.6523 GB, free: 54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.2452, allocations: 94.66 kB / 0.6524 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2452, allocations: 2.625 kB / 0.6524 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001547/0.2454, allocations: 15.38 kB / 0.6524 GB, free: 53.93 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005245/0.2459, allocations: 0.8329 MB / 0.6532 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.2463, allocations: 202.8 kB / 0.6534 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2463, allocations: 0 / 0.6534 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.2465, allocations: 94.83 kB / 0.6535 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.2467, allocations: 8.297 kB / 0.6535 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.2487, allocations: 1.854 MB / 0.6553 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.631e-05/0.2487, allocations: 76.94 kB / 0.6554 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.221e-05/0.2488, allocations: 19.52 kB / 0.6554 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.2489, allocations: 18.23 kB / 0.6554 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/0.2489, allocations: 0 / 0.6554 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.2641, allocations: 2.694 MB / 0.658 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.395/6.659, allocations: 13.73 kB / 0.6581 GB, free: 51.16 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.121196627616882] Failed to read output from testmodel.py, exit status != 0: 6.735773555934429 6.743439766 6.503493254 Calling exit ...