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.00132/0.00132, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001406/0.001406, allocations: 211.9 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.002645/0.002645, allocations: 294.7 kB / 312.7 MB, free: 2.574 MB / 238.1 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 1.179/1.179, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002977/0.002977, allocations: 97.7 kB / 0.7395 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1709, allocations: 95.38 MB / 0.8326 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00307/0.1739, allocations: 1.787 MB / 0.8344 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002915/0.1742, allocations: 115.9 kB / 0.8345 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.1743, allocations: 0 / 0.8345 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.1744, allocations: 19.73 kB / 0.8345 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.698e-05/0.1745, allocations: 55.55 kB / 0.8345 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.1746, allocations: 31.95 kB / 0.8346 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.1749, allocations: 171.1 kB / 0.8347 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.175, allocations: 25.02 kB / 0.8348 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.768e-05/0.1751, allocations: 63.77 kB / 0.8348 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1752, allocations: 55.77 kB / 0.8349 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.1752, allocations: 8 kB / 0.8349 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.617e-05/0.1752, allocations: 16 kB / 0.8349 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.1753, allocations: 27.91 kB / 0.8349 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.1753, allocations: 51.73 kB / 0.835 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1755, allocations: 131.4 kB / 0.8351 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1755, allocations: 0 / 0.8351 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1755, allocations: 0 / 0.8351 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1755, allocations: 0 / 0.8351 GB, free: 5.648 MB / 0.5762 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.0007485/0.1763, allocations: 385.6 kB / 0.8355 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1763, allocations: 9.344 kB / 0.8355 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.1764, allocations: 38.75 kB / 0.8355 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.1764, allocations: 12.84 kB / 0.8355 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1766, allocations: 154.3 kB / 0.8357 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1766, allocations: 384 / 0.8357 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1767, allocations: 16.31 kB / 0.8357 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.1769, allocations: 118.5 kB / 0.8358 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.177, allocations: 3.938 kB / 0.8358 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.177, allocations: 8 kB / 0.8358 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.177, allocations: 4 kB / 0.8358 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.1773, allocations: 95.86 kB / 0.8359 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.178, allocations: 415.9 kB / 0.8363 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.1784, allocations: 129.2 kB / 0.8364 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.1785, allocations: 57.77 kB / 0.8365 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1786, allocations: 4 kB / 0.8365 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1786, allocations: 34.56 kB / 0.8365 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1786, allocations: 0 / 0.8365 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0005821/0.1792, allocations: 177.5 kB / 0.8367 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.1792, allocations: 85.05 kB / 0.8368 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.1794, allocations: 176 kB / 0.8369 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1794, allocations: 29.64 kB / 0.837 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.1795, allocations: 112 kB / 0.8371 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.1795, allocations: 27.75 kB / 0.8371 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.1796, allocations: 29.66 kB / 0.8371 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1797, allocations: 330.7 kB / 0.8374 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1799, allocations: 39.97 kB / 0.8375 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.18, allocations: 65.69 kB / 0.8375 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.1803, allocations: 109.8 kB / 0.8376 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1803, allocations: 0 / 0.8376 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000351/0.1807, allocations: 137.6 kB / 0.8378 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1807, allocations: 8 kB / 0.8378 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1807, allocations: 4 kB / 0.8378 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1807, allocations: 0 / 0.8378 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1809, allocations: 27.92 kB / 0.8378 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1809, allocations: 0 / 0.8378 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.181, allocations: 15.88 kB / 0.8378 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.181, allocations: 8 kB / 0.8378 GB, free: 2.609 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 0.0001009/0.1811, allocations: 114.5 kB / 0.8379 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.1811, allocations: 15.91 kB / 0.838 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/0.1816, allocations: 162.6 kB / 0.8381 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1816, allocations: 0 / 0.8381 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1816, allocations: 0 / 0.8381 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1816, allocations: 7.938 kB / 0.8381 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.1819, allocations: 176.7 kB / 0.8383 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1819, allocations: 0 / 0.8383 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.182, allocations: 19.98 kB / 0.8383 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.182, allocations: 4.234 kB / 0.8383 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.182, allocations: 4 kB / 0.8383 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.182, allocations: 4.125 kB / 0.8383 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.182, allocations: 7.984 kB / 0.8383 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.1825, allocations: 318.5 kB / 0.8386 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.1825, allocations: 11.95 kB / 0.8386 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1825, allocations: 4 kB / 0.8386 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1827, allocations: 7.984 kB / 0.8387 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.1827, allocations: 16.2 kB / 0.8387 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1827, allocations: 8 kB / 0.8387 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001078/0.1829, allocations: 127.2 kB / 0.8388 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1829, allocations: 3.938 kB / 0.8388 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002878/0.1831, allocations: 31.95 kB / 0.8388 GB, free: 1.508 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.0007484/0.1839, allocations: 0.8367 MB / 0.8397 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.1842, allocations: 107.9 kB / 0.8398 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1842, allocations: 0 / 0.8398 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.1844, allocations: 51.91 kB / 0.8398 GB, free: 496 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.1848, allocations: 37.42 kB / 0.8398 GB, free: 460 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.1872, allocations: 1.829 MB / 0.8416 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.477e-05/0.1872, allocations: 97.56 kB / 0.8417 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.917e-05/0.1873, allocations: 8.641 kB / 0.8417 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/0.1874, allocations: 39.44 kB / 0.8418 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.1874, allocations: 0 / 0.8418 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.2194, allocations: 4.498 MB / 0.8462 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.4, allocations: 12.2 kB / 0.8462 GB, free: 10.08 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.41541978623718] Failed to read output from testmodel.py, exit status != 0: 11.506130107212812 11.522501104 11.343913149 Calling exit ...