Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.0007263/0.0007263, 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.0007551/0.0007551, 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.857/0.857, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.001633/0.001633, allocations: 229.7 kB / 259.4 MB, free: 13.01 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.6667/0.6667, allocations: 138.4 MB / 454.3 MB, free: 30 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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.6462 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.419e-05, allocations: 6.219 kB / 0.6462 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001834/0.001848, allocations: 1.787 MB / 0.648 GB, free: 112 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2143/0.2161, allocations: 125.9 kB / 0.6481 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2163, allocations: 3.219 kB / 0.6481 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.2164, allocations: 13.5 kB / 0.6481 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.2164, allocations: 49.31 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.2166, allocations: 36.2 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.2167, allocations: 180.2 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2168, allocations: 16.95 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.2169, allocations: 81.28 kB / 0.6485 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.217, allocations: 56.47 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.2171, allocations: 10.66 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.906e-05/0.2171, allocations: 9.5 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.2171, allocations: 24.22 kB / 0.6486 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.2171, allocations: 47.08 kB / 0.6486 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.2173, allocations: 129.6 kB / 0.6487 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2173, allocations: 3.203 kB / 0.6487 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2173, allocations: 0 / 0.6487 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.2173, allocations: 0 / 0.6487 GB, free: 55.78 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004751/0.2178, allocations: 378.3 kB / 0.6491 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2178, allocations: 11.8 kB / 0.6491 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.687e-05/0.2179, allocations: 39.05 kB / 0.6491 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.2179, allocations: 15.94 kB / 0.6492 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.2181, allocations: 152.7 kB / 0.6493 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.2181, allocations: 2.312 kB / 0.6493 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2181, allocations: 6.688 kB / 0.6493 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.2183, allocations: 124.2 kB / 0.6494 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2183, allocations: 2 kB / 0.6494 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2183, allocations: 2.906 kB / 0.6494 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2183, allocations: 6.344 kB / 0.6494 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.2185, allocations: 92.08 kB / 0.6495 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.2189, allocations: 423.9 kB / 0.6499 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.2192, allocations: 126.9 kB / 0.6501 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.2192, allocations: 55.8 kB / 0.6501 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.2193, allocations: 3.688 kB / 0.6501 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.2193, allocations: 40.16 kB / 0.6502 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.2193, allocations: 0 / 0.6502 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0003497/0.2196, allocations: 176.9 kB / 0.6503 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.2197, allocations: 80.8 kB / 0.6504 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.2197, allocations: 165.9 kB / 0.6506 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.2198, allocations: 36.17 kB / 0.6506 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.2198, allocations: 113.4 kB / 0.6507 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.2198, allocations: 37.42 kB / 0.6507 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.2198, allocations: 20.19 kB / 0.6508 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.838e-05/0.2199, allocations: 328.9 kB / 0.6511 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.22, allocations: 46.25 kB / 0.6511 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.22, allocations: 55.28 kB / 0.6512 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.2202, allocations: 105.8 kB / 0.6513 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2202, allocations: 1.375 kB / 0.6513 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.2204, allocations: 144.2 kB / 0.6514 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2204, allocations: 9.156 kB / 0.6514 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2204, allocations: 0.75 kB / 0.6514 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2204, allocations: 1.75 kB / 0.6514 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.2205, allocations: 21.02 kB / 0.6514 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2205, allocations: 4.531 kB / 0.6514 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.596e-05/0.2205, allocations: 12.61 kB / 0.6515 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2206, allocations: 6.297 kB / 0.6515 GB, free: 54.04 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 4.602e-05/0.2206, allocations: 125.1 kB / 0.6516 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.2206, allocations: 15.34 kB / 0.6516 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.2209, allocations: 159.5 kB / 0.6517 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2209, allocations: 1.875 kB / 0.6517 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2209, allocations: 1.125 kB / 0.6518 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2209, allocations: 1.844 kB / 0.6518 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.221, allocations: 182.4 kB / 0.6519 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.221, allocations: 4.359 kB / 0.6519 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.2211, allocations: 22.64 kB / 0.652 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2211, allocations: 0 / 0.652 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2211, allocations: 3.875 kB / 0.652 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2211, allocations: 3.938 kB / 0.652 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2211, allocations: 2.344 kB / 0.652 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.2213, allocations: 320.1 kB / 0.6523 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.2213, allocations: 9.703 kB / 0.6523 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2213, allocations: 3.406 kB / 0.6523 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.2214, allocations: 13.27 kB / 0.6523 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.2214, allocations: 6.891 kB / 0.6523 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2215, allocations: 1.688 kB / 0.6523 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.2215, allocations: 130.8 kB / 0.6524 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2215, allocations: 0 / 0.6524 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000187/0.2217, allocations: 39.27 kB / 0.6525 GB, free: 53.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0002852/0.222, allocations: 0.8376 MB / 0.6533 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.2222, allocations: 100.4 kB / 0.6534 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.2222, allocations: 0.5625 kB / 0.6534 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.2223, allocations: 56.28 kB / 0.6534 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.2226, allocations: 37.55 kB / 0.6535 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.2237, allocations: 1.836 MB / 0.6553 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.044e-05/0.2238, allocations: 97.45 kB / 0.6554 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.374e-05/0.2238, allocations: 14.92 kB / 0.6554 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.2239, allocations: 43.44 kB / 0.6554 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/0.2239, allocations: 0 / 0.6554 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.2407, allocations: 4.614 MB / 0.6599 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/7.004, allocations: 16.25 kB / 0.6599 GB, free: 50.09 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.478050963021815] Failed to read output from testmodel.py, exit status != 0: 7.0844551138579845 7.092881948 6.873944993 Calling exit ...