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.001144/0.001144, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9554/0.9554, allocations: 135.1 MB / 425.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 60.47 kB / 0.505 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1339, allocations: 80.93 MB / 0.584 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002774/0.1367, allocations: 1.858 MB / 0.5858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002769/0.137, allocations: 123.6 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.1371, allocations: 4 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1372, allocations: 19.84 kB / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.1373, allocations: 35.64 kB / 0.586 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.1374, allocations: 27.97 kB / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1376, allocations: 183 kB / 0.5862 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.1377, allocations: 25.11 kB / 0.5862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.1378, allocations: 47.86 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.1379, allocations: 71.69 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.1379, allocations: 8 kB / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.226e-05/0.138, allocations: 8 kB / 0.5863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.138, allocations: 27.91 kB / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.1381, allocations: 63.67 kB / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1382, allocations: 123.8 kB / 0.5865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1382, allocations: 0 / 0.5865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1382, allocations: 4 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1382, allocations: 0 / 0.5865 GB, free: 2.129 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.0007081/0.1389, allocations: 462.8 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.139, allocations: 8.031 kB / 0.587 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.139, allocations: 34.75 kB / 0.587 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.1391, allocations: 16.75 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1393, allocations: 204 kB / 0.5872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1393, allocations: 8.375 kB / 0.5872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1393, allocations: 4.375 kB / 0.5872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.1396, allocations: 119.9 kB / 0.5874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1396, allocations: 3.938 kB / 0.5874 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1396, allocations: 3.938 kB / 0.5874 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1396, allocations: 0 / 0.5874 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.1399, allocations: 103.9 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.1405, allocations: 468.7 kB / 0.5879 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.1409, allocations: 133.2 kB / 0.588 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.141, allocations: 65.7 kB / 0.5881 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1411, allocations: 0 / 0.5881 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1411, allocations: 42.56 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.1411, allocations: 3.984 kB / 0.5881 GB, free: 292 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005133/0.1416, allocations: 181.5 kB / 0.5883 GB, free: 104 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.1417, allocations: 77.11 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1418, allocations: 172.9 kB / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1418, allocations: 25.7 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.1419, allocations: 116 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.1419, allocations: 27.56 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.142, allocations: 21.7 kB / 0.5887 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.1421, allocations: 330.8 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1422, allocations: 44.03 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.1424, allocations: 57.69 kB / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.1426, allocations: 105.6 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1426, allocations: 0 / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003269/0.143, allocations: 145.5 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.143, allocations: 8.188 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.143, allocations: 0 / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.143, allocations: 3.938 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1432, allocations: 23.98 kB / 0.5894 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1432, allocations: 0 / 0.5894 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1433, allocations: 19.83 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1433, allocations: 4 kB / 0.5894 GB, free: 14.88 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 7.885e-05/0.1434, allocations: 117.8 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.1435, allocations: 11.91 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.1439, allocations: 162.5 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1439, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1439, allocations: 192 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1439, allocations: 3.938 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.1442, allocations: 233.5 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1442, allocations: 7.875 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1443, allocations: 19.98 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1443, allocations: 3.984 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1444, allocations: 8 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1444, allocations: 0 / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1444, allocations: 0 / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.1447, allocations: 314.6 kB / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.1448, allocations: 88.92 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.1448, allocations: 3.984 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.145, allocations: 4 kB / 0.5904 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.145, allocations: 15.92 kB / 0.5904 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.1451, allocations: 4 kB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.029e-05/0.1451, allocations: 128.8 kB / 0.5905 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1452, allocations: 4 kB / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002778/0.1454, allocations: 32 kB / 0.5906 GB, free: 13.63 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.0005732/0.146, allocations: 0.8404 MB / 0.5914 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.1463, allocations: 116 kB / 0.5915 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1463, allocations: 0 / 0.5915 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1465, allocations: 55.91 kB / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.1469, allocations: 44.28 kB / 0.5916 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.1489, allocations: 1.848 MB / 0.5934 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1491, allocations: 0.7084 MB / 0.5941 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.442e-05/0.1492, allocations: 16.62 kB / 0.5941 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.1493, allocations: 35.44 kB / 0.5941 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1493, allocations: 0 / 0.5941 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3837/0.533, allocations: 3.422 MB / 0.5975 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.5333, allocations: 211.3 kB / 0.5977 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.297, allocations: 7.75 kB / 0.5977 GB, free: 6.344 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)