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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002352/0.002352, allocations: 301.3 kB / 303 MB, free: 9.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 180.9 MB / 0.5261 GB, free: 14.82 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002578/0.002578, allocations: 99.78 kB / 0.7247 GB, free: 39.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1395, allocations: 94.17 MB / 0.8167 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002746/0.1423, allocations: 1.822 MB / 0.8185 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002512/0.1425, allocations: 121.3 kB / 0.8186 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.1426, allocations: 0 / 0.8186 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.715e-05/0.1427, allocations: 15.8 kB / 0.8186 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.966e-05/0.1428, allocations: 59.55 kB / 0.8187 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.1429, allocations: 35.89 kB / 0.8187 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1431, allocations: 163.2 kB / 0.8188 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1432, allocations: 21.11 kB / 0.8189 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.532e-05/0.1433, allocations: 51.78 kB / 0.8189 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1434, allocations: 71.69 kB / 0.819 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.1434, allocations: 12 kB / 0.819 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.251e-05/0.1434, allocations: 12 kB / 0.819 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.1434, allocations: 27.91 kB / 0.819 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.1435, allocations: 63.67 kB / 0.8191 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1437, allocations: 131.7 kB / 0.8192 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1437, allocations: 0 / 0.8192 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1437, allocations: 0 / 0.8192 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.1437, allocations: 3.938 kB / 0.8192 GB, free: 2.898 MB / 0.5606 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.0007395/0.1444, allocations: 450.8 kB / 0.8197 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1444, allocations: 12.03 kB / 0.8197 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.1445, allocations: 34.75 kB / 0.8197 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1445, allocations: 20.83 kB / 0.8197 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1448, allocations: 216.1 kB / 0.8199 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1448, allocations: 384 / 0.8199 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1448, allocations: 8.375 kB / 0.8199 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.1451, allocations: 119.9 kB / 0.82 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1451, allocations: 3.938 kB / 0.8201 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1451, allocations: 4 kB / 0.8201 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1451, allocations: 7.938 kB / 0.8201 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.1454, allocations: 83.94 kB / 0.8201 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/0.146, allocations: 480.7 kB / 0.8206 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.1464, allocations: 117.3 kB / 0.8207 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.1465, allocations: 65.72 kB / 0.8208 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1465, allocations: 0 / 0.8208 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1466, allocations: 38.56 kB / 0.8208 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 2.465e-06/0.1466, allocations: 3.984 kB / 0.8208 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0005196/0.1471, allocations: 185.4 kB / 0.821 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1471, allocations: 85.11 kB / 0.8211 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.1473, allocations: 167.4 kB / 0.8212 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1473, allocations: 25.7 kB / 0.8213 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.1474, allocations: 108.1 kB / 0.8214 GB, free: 480 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1474, allocations: 31.73 kB / 0.8214 GB, free: 448 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.1474, allocations: 21.72 kB / 0.8214 GB, free: 420 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1476, allocations: 334.8 kB / 0.8217 GB, free: 76 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1477, allocations: 35.97 kB / 0.8218 GB, free: 40 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1479, allocations: 65.77 kB / 0.8218 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.1481, allocations: 101.7 kB / 0.8219 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1481, allocations: 0 / 0.8219 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003193/0.1484, allocations: 145.5 kB / 0.8221 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1484, allocations: 11.94 kB / 0.8221 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1485, allocations: 0 / 0.8221 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1485, allocations: 0 / 0.8221 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1486, allocations: 24.16 kB / 0.8221 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1486, allocations: 4 kB / 0.8221 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.1487, allocations: 31.75 kB / 0.8221 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1487, allocations: 4 kB / 0.8221 GB, free: 15.64 MB / 0.5762 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 8.855e-05/0.1488, allocations: 117.8 kB / 0.8223 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.1489, allocations: 11.95 kB / 0.8223 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.1493, allocations: 151 kB / 0.8224 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1493, allocations: 4.062 kB / 0.8224 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1493, allocations: 7.938 kB / 0.8224 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1493, allocations: 7.922 kB / 0.8224 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.1496, allocations: 225.5 kB / 0.8226 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1496, allocations: 0 / 0.8226 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.1497, allocations: 19.98 kB / 0.8227 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1497, allocations: 0 / 0.8227 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1497, allocations: 8 kB / 0.8227 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1497, allocations: 0 / 0.8227 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1497, allocations: 0 / 0.8227 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.1501, allocations: 314.6 kB / 0.823 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1501, allocations: 92.95 kB / 0.8231 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1502, allocations: 4 kB / 0.8231 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.1503, allocations: 7.984 kB / 0.8231 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1504, allocations: 19.92 kB / 0.8231 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1504, allocations: 4 kB / 0.8231 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.389e-05/0.1505, allocations: 123.2 kB / 0.8232 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1505, allocations: 0 / 0.8232 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002669/0.1507, allocations: 28 kB / 0.8232 GB, free: 14.41 MB / 0.5762 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.0006967/0.1514, allocations: 0.8483 MB / 0.8241 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.1517, allocations: 95.94 kB / 0.8242 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1517, allocations: 192 / 0.8242 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.1519, allocations: 55.91 kB / 0.8242 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1523, allocations: 60.09 kB / 0.8243 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.1544, allocations: 1.821 MB / 0.826 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1547, allocations: 0.7083 MB / 0.8267 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.72e-05/0.1547, allocations: 12.64 kB / 0.8267 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.1548, allocations: 35.42 kB / 0.8268 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1548, allocations: 4 kB / 0.8268 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.1802, allocations: 3.672 MB / 0.8304 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.218/7.398, allocations: 9.547 kB / 0.8304 GB, free: 7.156 MB / 0.5762 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: 10.973937562201172] Failed to read output from testmodel.py, exit status != 0: 7.470473474822938 7.482816901 7.336659019 Calling exit ...