Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 184.9 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6945/0.6945, allocations: 91.98 MB / 108.5 MB, free: 13.1 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.2 MB / 354.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009265, allocations: 95.75 kB / 427.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004428, allocations: 8 kB / 0.4983 GB, free: 41.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1961, allocations: 72.3 MB / 0.5689 GB, free: 1.586 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.421/0.6171, allocations: 102.2 MB / 0.6687 GB, free: 2.168 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.6174, allocations: 75.95 kB / 0.6687 GB, free: 2.094 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005283/0.6227, allocations: 1.894 MB / 0.6706 GB, free: 208 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6227, allocations: 0 / 0.6706 GB, free: 208 kB / 458.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.6228, allocations: 8 kB / 0.6706 GB, free: 200 kB / 458.7 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.0005904/0.6234, allocations: 458 kB / 0.671 GB, free: 15.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.6234, allocations: 8.031 kB / 0.671 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.6234, allocations: 42.52 kB / 0.6711 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.6235, allocations: 11.81 kB / 0.6711 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.6237, allocations: 203.5 kB / 0.6713 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.6237, allocations: 4 kB / 0.6713 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.6237, allocations: 8 kB / 0.6713 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.624, allocations: 127.9 kB / 0.6714 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.624, allocations: 0 / 0.6714 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.624, allocations: 4 kB / 0.6714 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.6241, allocations: 11.95 kB / 0.6714 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.6244, allocations: 103.9 kB / 0.6715 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.625, allocations: 468.7 kB / 0.672 GB, free: 14.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.6254, allocations: 141.3 kB / 0.6721 GB, free: 14.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.6254, allocations: 8.062 kB / 0.6721 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.6254, allocations: 34.56 kB / 0.6722 GB, free: 14.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.6254, allocations: 3.938 kB / 0.6722 GB, free: 14.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005419/0.626, allocations: 209.4 kB / 0.6724 GB, free: 14.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.626, allocations: 81.11 kB / 0.6724 GB, free: 14.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.6262, allocations: 149.5 kB / 0.6726 GB, free: 13.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6262, allocations: 25.7 kB / 0.6726 GB, free: 13.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.6262, allocations: 112.2 kB / 0.6727 GB, free: 13.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.6263, allocations: 31.55 kB / 0.6727 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/0.6263, allocations: 0 / 0.6727 GB, free: 13.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.6264, allocations: 328.6 kB / 0.6731 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.6265, allocations: 47.97 kB / 0.6731 GB, free: 13.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.6267, allocations: 65.62 kB / 0.6732 GB, free: 13.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.6268, allocations: 59.97 kB / 0.6732 GB, free: 13.26 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6268, allocations: 0 / 0.6732 GB, free: 13.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003358/0.6272, allocations: 161.8 kB / 0.6734 GB, free: 13.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6272, allocations: 9.562 kB / 0.6734 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6272, allocations: 0 / 0.6734 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6272, allocations: 64 / 0.6734 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.6274, allocations: 27.98 kB / 0.6734 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.6274, allocations: 4 kB / 0.6734 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.6276, allocations: 19.89 kB / 0.6734 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.6276, allocations: 7.984 kB / 0.6734 GB, free: 13.03 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/0.6277, allocations: 117.8 kB / 0.6736 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.6277, allocations: 15.86 kB / 0.6736 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.6281, allocations: 174.4 kB / 0.6737 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6282, allocations: 7.938 kB / 0.6737 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.6282, allocations: 0 / 0.6737 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6282, allocations: 0 / 0.6737 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.6284, allocations: 221.5 kB / 0.674 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6285, allocations: 0 / 0.674 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.6286, allocations: 35.91 kB / 0.674 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6286, allocations: 0 / 0.674 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6286, allocations: 3.953 kB / 0.674 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6287, allocations: 4 kB / 0.674 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6287, allocations: 0 / 0.674 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.6291, allocations: 336.5 kB / 0.6743 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.6291, allocations: 100.9 kB / 0.6744 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.6292, allocations: 0 / 0.6744 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.6294, allocations: 12 kB / 0.6744 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.6294, allocations: 7.984 kB / 0.6744 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.6294, allocations: 8 kB / 0.6744 GB, free: 11.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.052e-05/0.6295, allocations: 128.2 kB / 0.6746 GB, free: 11.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6295, allocations: 0 / 0.6746 GB, free: 11.78 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.6298, allocations: 28 kB / 0.6746 GB, free: 11.75 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007014/0.6305, allocations: 0.9343 MB / 0.6755 GB, free: 10.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.6309, allocations: 119.9 kB / 0.6756 GB, free: 10.67 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6309, allocations: 4 kB / 0.6756 GB, free: 10.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.631, allocations: 64.22 kB / 0.6757 GB, free: 10.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.6314, allocations: 32.11 kB / 0.6757 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.6329, allocations: 0.9929 MB / 0.6767 GB, free: 9.516 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.6332, allocations: 0.7048 MB / 0.6774 GB, free: 8.785 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.6333, allocations: 20.95 kB / 0.6774 GB, free: 8.766 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/0.6334, allocations: 39.42 kB / 0.6774 GB, free: 8.727 MB / 474.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6334, allocations: 0 / 0.6774 GB, free: 8.727 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.6479, allocations: 3.198 MB / 0.6806 GB, free: 5.723 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.6481, allocations: 190.9 kB / 0.6807 GB, free: 5.484 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.155, allocations: 4 kB / 0.6807 GB, free: 5.48 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)