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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005104/0.005104, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001109/0.001109, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7251/0.7251, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 0.5808 GB, free: 8.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3885, allocations: 80.2 MB / 0.6591 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002325/0.3908, allocations: 1.818 MB / 0.6609 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002447/0.3911, allocations: 119.2 kB / 0.661 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.3912, allocations: 1.406 kB / 0.661 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.839e-05/0.3913, allocations: 16.69 kB / 0.6611 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.211e-05/0.3914, allocations: 53.44 kB / 0.6611 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.3915, allocations: 31.19 kB / 0.6611 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.3917, allocations: 174 kB / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3919, allocations: 27.56 kB / 0.6613 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.3919, allocations: 61.22 kB / 0.6614 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.392, allocations: 66.67 kB / 0.6614 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.3921, allocations: 9.375 kB / 0.6615 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.3921, allocations: 11 kB / 0.6615 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.3921, allocations: 20.3 kB / 0.6615 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.12e-05/0.3922, allocations: 64.78 kB / 0.6615 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.3924, allocations: 131.5 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3924, allocations: 0 / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3924, allocations: 1.188 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3924, allocations: 0 / 0.6617 GB, free: 8.164 MB / 0.4981 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.0006556/0.3931, allocations: 453.9 kB / 0.6621 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3931, allocations: 9.188 kB / 0.6621 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.3931, allocations: 42.12 kB / 0.6622 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.3932, allocations: 13.09 kB / 0.6622 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.3934, allocations: 215 kB / 0.6624 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.3934, allocations: 7 kB / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3934, allocations: 9.594 kB / 0.6624 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.3937, allocations: 116.1 kB / 0.6625 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3937, allocations: 3.938 kB / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3937, allocations: 1.531 kB / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3937, allocations: 2.344 kB / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.394, allocations: 97.14 kB / 0.6626 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.3946, allocations: 475.6 kB / 0.6631 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.3949, allocations: 131.6 kB / 0.6632 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.3951, allocations: 62.84 kB / 0.6632 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3951, allocations: 1.891 kB / 0.6632 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.3952, allocations: 32.67 kB / 0.6633 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3952, allocations: 4 kB / 0.6633 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005562/0.3957, allocations: 186.2 kB / 0.6635 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.3958, allocations: 79.47 kB / 0.6635 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3959, allocations: 167 kB / 0.6637 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3959, allocations: 25.7 kB / 0.6637 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.3959, allocations: 108.6 kB / 0.6638 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.396, allocations: 30.36 kB / 0.6638 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.396, allocations: 21.7 kB / 0.6639 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.3961, allocations: 331.8 kB / 0.6642 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3962, allocations: 39.53 kB / 0.6642 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3963, allocations: 58.84 kB / 0.6643 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.3966, allocations: 111.9 kB / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.3966, allocations: 0 / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003141/0.3969, allocations: 145.7 kB / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.397, allocations: 5.594 kB / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.397, allocations: 0 / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.397, allocations: 9 kB / 0.6645 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.3971, allocations: 26.17 kB / 0.6646 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3971, allocations: 0 / 0.6646 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3973, allocations: 22.83 kB / 0.6646 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3973, allocations: 2.594 kB / 0.6646 GB, free: 5.758 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 5.974e-05/0.3973, allocations: 121.8 kB / 0.6647 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.3974, allocations: 10.72 kB / 0.6647 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.3978, allocations: 162.1 kB / 0.6649 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3978, allocations: 1.406 kB / 0.6649 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3978, allocations: 0 / 0.6649 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3978, allocations: 5.578 kB / 0.6649 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.398, allocations: 219.2 kB / 0.6651 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.398, allocations: 1.312 kB / 0.6651 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.3981, allocations: 28.34 kB / 0.6651 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3982, allocations: 9.047 kB / 0.6651 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3982, allocations: 1.438 kB / 0.6651 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3982, allocations: 192 / 0.6651 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3982, allocations: 5.109 kB / 0.6651 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.3985, allocations: 312.8 kB / 0.6654 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.3986, allocations: 92.95 kB / 0.6655 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.3986, allocations: 5.297 kB / 0.6655 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3987, allocations: 13.19 kB / 0.6655 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.3988, allocations: 11.67 kB / 0.6655 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3988, allocations: 1.625 kB / 0.6655 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.615e-05/0.3989, allocations: 133.1 kB / 0.6657 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3989, allocations: 0 / 0.6657 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002668/0.3992, allocations: 28.34 kB / 0.6657 GB, free: 4.766 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.000523/0.3997, allocations: 0.843 MB / 0.6665 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.4, allocations: 110.6 kB / 0.6666 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4, allocations: 3.938 kB / 0.6666 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.4002, allocations: 51.38 kB / 0.6667 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.4006, allocations: 43.75 kB / 0.6667 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.4023, allocations: 1.821 MB / 0.6685 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.4025, allocations: 0.7051 MB / 0.6692 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.521e-05/0.4026, allocations: 20.02 kB / 0.6692 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.4026, allocations: 37.17 kB / 0.6692 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of SimCode: time 1.342e-06/0.4026, allocations: 0 / 0.6692 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.422, allocations: 3.69 MB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.774, allocations: 12.17 kB / 0.6729 GB, free: 15.71 MB / 0.5137 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/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)