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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 197.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 282.7 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001879, allocations: 100.5 kB / 0.5953 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1367, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002928/0.1396, allocations: 1.807 MB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003088/0.1399, allocations: 127.5 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.576e-05/0.1401, allocations: 0 / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.1402, allocations: 12.42 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1403, allocations: 52.88 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.1405, allocations: 36.44 kB / 0.6823 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.1407, allocations: 173.1 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1408, allocations: 29.09 kB / 0.6825 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.1409, allocations: 51.8 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.141, allocations: 71.69 kB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.1411, allocations: 12 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.884e-05/0.1411, allocations: 8 kB / 0.6826 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.1411, allocations: 19.92 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.1412, allocations: 71.64 kB / 0.6827 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1414, allocations: 127.5 kB / 0.6828 GB, free: 14.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1414, allocations: 0 / 0.6828 GB, free: 14.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1414, allocations: 0 / 0.6828 GB, free: 14.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1414, allocations: 4 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB 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.0007785/0.1422, allocations: 450.8 kB / 0.6832 GB, free: 13.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1422, allocations: 12.03 kB / 0.6832 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.1423, allocations: 34.75 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.1424, allocations: 12.84 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1426, allocations: 210 kB / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1426, allocations: 4.375 kB / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1426, allocations: 8.375 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.1429, allocations: 115.8 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1429, allocations: 3.938 kB / 0.6836 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1429, allocations: 7.938 kB / 0.6836 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.143, allocations: 0 / 0.6836 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.1433, allocations: 103.9 kB / 0.6837 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/0.144, allocations: 468.7 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.1444, allocations: 133.2 kB / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.1445, allocations: 65.77 kB / 0.6844 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1446, allocations: 0 / 0.6844 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1446, allocations: 42.5 kB / 0.6844 GB, free: 12.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.836e-06/0.1446, allocations: 3.984 kB / 0.6844 GB, free: 12.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005954/0.1452, allocations: 173.5 kB / 0.6846 GB, free: 12.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.1453, allocations: 81.05 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1454, allocations: 175 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1455, allocations: 29.7 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.1455, allocations: 104.1 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.1456, allocations: 31.62 kB / 0.685 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.1456, allocations: 29.7 kB / 0.685 GB, free: 11.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1457, allocations: 326.8 kB / 0.6853 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1459, allocations: 35.97 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.1461, allocations: 61.69 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.1464, allocations: 101.6 kB / 0.6855 GB, free: 10.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1464, allocations: 3.938 kB / 0.6855 GB, free: 10.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003744/0.1468, allocations: 145.4 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1468, allocations: 12 kB / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1468, allocations: 0 / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1468, allocations: 0 / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.147, allocations: 28.3 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.147, allocations: 4 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1471, allocations: 11.92 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1471, allocations: 8 kB / 0.6857 GB, free: 10.78 MB / 494.1 MB 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 9.333e-05/0.1472, allocations: 122.5 kB / 0.6858 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.1473, allocations: 15.81 kB / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.1477, allocations: 158.5 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1477, allocations: 4 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1478, allocations: 0 / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1478, allocations: 3.938 kB / 0.686 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.1481, allocations: 213.8 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1481, allocations: 4 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.1482, allocations: 31.86 kB / 0.6862 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1482, allocations: 0 / 0.6862 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1482, allocations: 7.984 kB / 0.6862 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1483, allocations: 0 / 0.6862 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1483, allocations: 0 / 0.6862 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.1487, allocations: 322.5 kB / 0.6866 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.1487, allocations: 84.92 kB / 0.6866 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1488, allocations: 4 kB / 0.6866 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.149, allocations: 11.98 kB / 0.6866 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.149, allocations: 11.92 kB / 0.6867 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.149, allocations: 4 kB / 0.6867 GB, free: 9.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.502e-05/0.1491, allocations: 125.8 kB / 0.6868 GB, free: 9.578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1491, allocations: 4 kB / 0.6868 GB, free: 9.574 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.1494, allocations: 28 kB / 0.6868 GB, free: 9.547 MB / 494.1 MB 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.0006748/0.1501, allocations: 0.8405 MB / 0.6876 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.1505, allocations: 103.9 kB / 0.6877 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1505, allocations: 0 / 0.6877 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1507, allocations: 55.91 kB / 0.6878 GB, free: 8.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.1512, allocations: 57.16 kB / 0.6878 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1534, allocations: 1.819 MB / 0.6896 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1536, allocations: 0.7045 MB / 0.6903 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.059e-05/0.1537, allocations: 20.62 kB / 0.6903 GB, free: 5.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.1538, allocations: 31.44 kB / 0.6904 GB, free: 5.773 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1538, allocations: 0 / 0.6904 GB, free: 5.773 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/0.4104, allocations: 3.603 MB / 0.6939 GB, free: 2.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/8.968, allocations: 12.36 kB / 0.6939 GB, free: 2.34 MB / 494.1 MB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)