Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_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.001819/0.001819, allocations: 174.4 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8072/0.8072, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.5 MB / 395.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009098/0.0009097, allocations: 105.5 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.689e-05, allocations: 0 / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4652, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.6103, allocations: 111.2 MB / 0.7425 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.6105, allocations: 71.95 kB / 0.7426 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005087/0.6156, allocations: 1.877 MB / 0.7444 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6157, allocations: 0 / 0.7444 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.6157, allocations: 4 kB / 0.7444 GB, free: 9.527 MB / 0.5261 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.0005615/0.6162, allocations: 426.1 kB / 0.7448 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.6163, allocations: 12.03 kB / 0.7448 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.6164, allocations: 15.89 kB / 0.7449 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.6166, allocations: 212.7 kB / 0.7451 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6166, allocations: 0 / 0.7451 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.6166, allocations: 4 kB / 0.7451 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001422/0.6168, allocations: 52 kB / 0.7451 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.6169, allocations: 95.31 kB / 0.7452 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.617, allocations: 0 / 0.7452 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.617, allocations: 0 / 0.7452 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.617, allocations: 4 kB / 0.7452 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.6177, allocations: 445.4 kB / 0.7456 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.6179, allocations: 105.3 kB / 0.7457 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.618, allocations: 37.72 kB / 0.7458 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.6181, allocations: 8 kB / 0.7458 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.6181, allocations: 34.5 kB / 0.7458 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.6181, allocations: 0 / 0.7458 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002666/0.6184, allocations: 97.64 kB / 0.7459 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.6184, allocations: 85.09 kB / 0.746 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.6186, allocations: 140.6 kB / 0.7461 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.6186, allocations: 25.7 kB / 0.7461 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.6187, allocations: 111.9 kB / 0.7463 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.6187, allocations: 31.58 kB / 0.7463 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.6187, allocations: 0 / 0.7463 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6188, allocations: 322.8 kB / 0.7466 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/0.6189, allocations: 27.94 kB / 0.7466 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.6189, allocations: 41.72 kB / 0.7467 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.701e-05/0.619, allocations: 28.06 kB / 0.7467 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.619, allocations: 3.984 kB / 0.7467 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001692/0.6192, allocations: 105.4 kB / 0.7468 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.6192, allocations: 5.875 kB / 0.7468 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6192, allocations: 192 / 0.7468 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6192, allocations: 4 kB / 0.7468 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.6194, allocations: 31.92 kB / 0.7468 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6194, allocations: 0 / 0.7468 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.6195, allocations: 19.94 kB / 0.7468 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.6196, allocations: 4 kB / 0.7468 GB, free: 6.809 MB / 0.5261 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 () * 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.702e-05/0.6196, allocations: 104.9 kB / 0.7469 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001825/0.6198, allocations: 105.4 kB / 0.747 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.6199, allocations: 7.906 kB / 0.7471 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.6201, allocations: 123.2 kB / 0.7472 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.6201, allocations: 3.953 kB / 0.7472 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6201, allocations: 0 / 0.7472 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6202, allocations: 4 kB / 0.7472 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.6204, allocations: 198.1 kB / 0.7474 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6204, allocations: 0 / 0.7474 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.6206, allocations: 24.12 kB / 0.7474 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6206, allocations: 4 kB / 0.7474 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.6206, allocations: 4.234 kB / 0.7474 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6206, allocations: 4 kB / 0.7474 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6206, allocations: 4 kB / 0.7474 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.6209, allocations: 284.3 kB / 0.7477 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.6209, allocations: 88.92 kB / 0.7478 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.6209, allocations: 4 kB / 0.7478 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.6211, allocations: 11.98 kB / 0.7478 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.6212, allocations: 15.88 kB / 0.7478 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.6212, allocations: 8 kB / 0.7478 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.017e-05/0.6213, allocations: 116.9 kB / 0.7479 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6213, allocations: 0 / 0.7479 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003141/0.6216, allocations: 27.94 kB / 0.7479 GB, free: 5.59 MB / 0.5261 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 () * 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.000518/0.6221, allocations: 0.8759 MB / 0.7488 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.6223, allocations: 64.11 kB / 0.7489 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6223, allocations: 7.938 kB / 0.7489 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.242e-05/0.6224, allocations: 35.94 kB / 0.7489 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.6227, allocations: 35.94 kB / 0.7489 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.6233, allocations: 183.9 kB / 0.7491 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.6236, allocations: 0.7119 MB / 0.7498 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.201e-05/0.6237, allocations: 8.547 kB / 0.7498 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.6238, allocations: 39.38 kB / 0.7499 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/0.6238, allocations: 0 / 0.7499 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.6442, allocations: 2.653 MB / 0.7524 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.6445, allocations: 140.3 kB / 0.7526 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.187, allocations: 0 / 0.7526 GB, free: 0.75 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)