Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_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.0009833/0.0009833, 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.0009714/0.0009714, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.195/1.195, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8051/0.8051, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001149, allocations: 57.22 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1237, allocations: 80.92 MB / 0.5845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002389/0.1261, allocations: 1.811 MB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002198/0.1264, allocations: 119.6 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.1264, allocations: 0 / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.266e-05/0.1265, allocations: 19.78 kB / 0.5864 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.1266, allocations: 43.58 kB / 0.5864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.071e-05/0.1267, allocations: 39.94 kB / 0.5864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1269, allocations: 175.1 kB / 0.5866 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.1269, allocations: 29.03 kB / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.008e-05/0.127, allocations: 47.86 kB / 0.5867 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.1271, allocations: 71.69 kB / 0.5868 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1271, allocations: 16 kB / 0.5868 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.1272, allocations: 8 kB / 0.5868 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.1272, allocations: 23.91 kB / 0.5868 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.1272, allocations: 63.67 kB / 0.5869 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.1274, allocations: 119.9 kB / 0.587 GB, free: 1.895 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1274, allocations: 7.984 kB / 0.587 GB, free: 1.887 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1274, allocations: 0 / 0.587 GB, free: 1.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1274, allocations: 0 / 0.587 GB, free: 1.887 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.0005984/0.128, allocations: 454.8 kB / 0.5874 GB, free: 1.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.128, allocations: 12.03 kB / 0.5874 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.1281, allocations: 34.75 kB / 0.5875 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.1281, allocations: 16.75 kB / 0.5875 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.1283, allocations: 204 kB / 0.5877 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.1283, allocations: 4.375 kB / 0.5877 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1283, allocations: 8.375 kB / 0.5877 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.1285, allocations: 115.9 kB / 0.5878 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.1285, allocations: 7.875 kB / 0.5878 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1286, allocations: 8 kB / 0.5878 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-06/0.1286, allocations: 0 / 0.5878 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.1288, allocations: 95.86 kB / 0.5879 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.1294, allocations: 472.7 kB / 0.5883 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.1297, allocations: 133.2 kB / 0.5885 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.1299, allocations: 61.78 kB / 0.5885 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1299, allocations: 0 / 0.5885 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.1299, allocations: 38.5 kB / 0.5886 GB, free: 60 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.1299, allocations: 0 / 0.5886 GB, free: 60 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005028/0.1304, allocations: 181.5 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.1305, allocations: 81.11 kB / 0.5888 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1306, allocations: 172.8 kB / 0.589 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1306, allocations: 29.7 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.1306, allocations: 108 kB / 0.5891 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1307, allocations: 27.56 kB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.1307, allocations: 33.7 kB / 0.5892 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.1308, allocations: 326.8 kB / 0.5895 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.131, allocations: 44.03 kB / 0.5895 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1311, allocations: 57.69 kB / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.1313, allocations: 105.6 kB / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1314, allocations: 0 / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003132/0.1317, allocations: 137.5 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1317, allocations: 8 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.1317, allocations: 3.938 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.1317, allocations: 0 / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1319, allocations: 27.98 kB / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1319, allocations: 4 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.132, allocations: 15.83 kB / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.132, allocations: 4 kB / 0.5899 GB, free: 14.64 MB / 0.4981 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 6.986e-05/0.1321, allocations: 117.8 kB / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.1321, allocations: 12.09 kB / 0.59 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.1325, allocations: 162.5 kB / 0.5902 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1325, allocations: 4 kB / 0.5902 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1325, allocations: 192 / 0.5902 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1325, allocations: 3.938 kB / 0.5902 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.1328, allocations: 237.4 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1328, allocations: 0 / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.1329, allocations: 27.91 kB / 0.5904 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1329, allocations: 0 / 0.5904 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1329, allocations: 4 kB / 0.5904 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1329, allocations: 4 kB / 0.5904 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.133, allocations: 0 / 0.5904 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.1333, allocations: 310.8 kB / 0.5907 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.1333, allocations: 89 kB / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1334, allocations: 11.94 kB / 0.5908 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.1335, allocations: 8 kB / 0.5908 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1336, allocations: 11.92 kB / 0.5908 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1336, allocations: 4 kB / 0.5908 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.1337, allocations: 133.2 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1337, allocations: 0 / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002565/0.1339, allocations: 28 kB / 0.591 GB, free: 13.4 MB / 0.4981 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.000538/0.1345, allocations: 0.8404 MB / 0.5918 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.1348, allocations: 111.9 kB / 0.5919 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1348, allocations: 4 kB / 0.5919 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.135, allocations: 55.91 kB / 0.592 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1353, allocations: 54.8 kB / 0.592 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1371, allocations: 1.814 MB / 0.5938 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.1373, allocations: 0.7045 MB / 0.5945 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.1374, allocations: 12.64 kB / 0.5945 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.1375, allocations: 39.42 kB / 0.5945 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1375, allocations: 0 / 0.5945 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.083/2.22, allocations: 3.577 MB / 0.598 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/16, allocations: 14.27 kB / 0.598 GB, free: 6.176 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)