Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",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.0008765/0.0008806, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005181/0.005181, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.19/1.19, allocations: 223.3 MB / 240.3 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8421/0.8421, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003468, allocations: 12 kB / 0.5077 GB, free: 4.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 82.3 MB / 0.5881 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.2595/0.3897, allocations: 59.68 MB / 0.6464 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.3998, allocations: 11.9 MB / 0.658 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008009/0.4007, allocations: 52.72 kB / 0.658 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009512/0.4016, allocations: 0.5578 MB / 0.6586 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.4042, allocations: 1.794 MB / 0.6603 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.4059, allocations: 1.074 MB / 0.6614 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002464/0.4083, allocations: 3.907 MB / 0.6652 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009441/0.4093, allocations: 0.8937 MB / 0.6661 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.4107, allocations: 1.121 MB / 0.6671 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008275/0.4116, allocations: 0.8523 MB / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.4117, allocations: 42.62 kB / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.4135, allocations: 1.33 MB / 0.6693 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.4136, allocations: 214.9 kB / 0.6695 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.4141, allocations: 0.6269 MB / 0.6701 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.4163, allocations: 2.199 MB / 0.6723 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.4163, allocations: 4 kB / 0.6723 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4163, allocations: 0 / 0.6723 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.4163, allocations: 0 / 0.6723 GB, free: 2.156 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002114/0.4184, allocations: 1.483 MB / 0.6737 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4185, allocations: 10.06 kB / 0.6737 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.4186, allocations: 122.5 kB / 0.6739 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.4207, allocations: 475.4 kB / 0.6743 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.4223, allocations: 1.13 MB / 0.6754 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.4227, allocations: 127.5 kB / 0.6755 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.4228, allocations: 87.53 kB / 0.6756 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.4247, allocations: 0.9994 MB / 0.6766 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.4247, allocations: 1.281 kB / 0.6766 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-05/0.4248, allocations: 31.72 kB / 0.6766 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.4248, allocations: 22.94 kB / 0.6767 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.427, allocations: 0.9112 MB / 0.6775 GB, free: 15.41 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005618/0.4327, allocations: 4.89 MB / 0.6823 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/0.4361, allocations: 0.902 MB / 0.6832 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007227/0.4368, allocations: 318.7 kB / 0.6835 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/0.4374, allocations: 0.9041 MB / 0.6844 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.4374, allocations: 42.72 kB / 0.6844 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.4374, allocations: 0 / 0.6844 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007228/0.4447, allocations: 1.955 MB / 0.6863 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.4447, allocations: 55.31 kB / 0.6864 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.4461, allocations: 1.059 MB / 0.6874 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.4462, allocations: 37.52 kB / 0.6875 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.4466, allocations: 0.5226 MB / 0.688 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.4467, allocations: 153.1 kB / 0.6881 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.4468, allocations: 51.02 kB / 0.6882 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.4469, allocations: 327.4 kB / 0.6885 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008845/0.4478, allocations: 320.7 kB / 0.6888 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.4488, allocations: 0.5322 MB / 0.6893 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.4505, allocations: 0.7318 MB / 0.69 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4505, allocations: 1.406 kB / 0.69 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003492/0.454, allocations: 1.21 MB / 0.6912 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4541, allocations: 212.8 kB / 0.6914 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4541, allocations: 3.219 kB / 0.6914 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.4553, allocations: 335.9 kB / 0.6917 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.4558, allocations: 128 kB / 0.6918 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4572, allocations: 0.9446 MB / 0.6928 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.4584, allocations: 193.1 kB / 0.693 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/0.4585, allocations: 28.75 kB / 0.693 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.4585, allocations: 4.062 kB / 0.693 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003184/0.4617, allocations: 1.072 MB / 0.694 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4617, allocations: 4.562 kB / 0.694 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4628, allocations: 321 kB / 0.6943 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.4633, allocations: 134.4 kB / 0.6945 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.4646, allocations: 0.9394 MB / 0.6954 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/0.4656, allocations: 166.2 kB / 0.6955 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.4657, allocations: 28.8 kB / 0.6956 GB, free: 5.016 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.00038/0.4661, allocations: 356.2 kB / 0.6959 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.4662, allocations: 107.5 kB / 0.696 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.4685, allocations: 0.9835 MB / 0.697 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.4685, allocations: 7.609 kB / 0.697 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4685, allocations: 0 / 0.697 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4685, allocations: 6.609 kB / 0.697 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/0.4733, allocations: 2.266 MB / 0.6992 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4734, allocations: 2.781 kB / 0.6992 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.4736, allocations: 69.89 kB / 0.6993 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009482/0.4746, allocations: 322.5 kB / 0.6996 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.4746, allocations: 18.19 kB / 0.6996 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.476, allocations: 0.9686 MB / 0.7005 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.476, allocations: 7.75 kB / 0.7006 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/0.4794, allocations: 1.258 MB / 0.7018 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.4797, allocations: 280.7 kB / 0.702 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.4799, allocations: 7.75 kB / 0.7021 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008722/0.4807, allocations: 118.8 kB / 0.7022 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.4808, allocations: 36.45 kB / 0.7022 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.4809, allocations: 28.33 kB / 0.7022 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001008/0.4819, allocations: 0.7452 MB / 0.703 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4819, allocations: 0 / 0.703 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001345/0.4832, allocations: 0.5614 MB / 0.7035 GB, free: 1.191 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004267/0.4875, allocations: 2.057 MB / 0.7055 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.4904, allocations: 1.161 MB / 0.7066 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4904, allocations: 1.312 kB / 0.7067 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008123/0.4912, allocations: 375.4 kB / 0.707 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.4937, allocations: 0.5096 MB / 0.7075 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.5106, allocations: 9.214 MB / 0.7165 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.5111, allocations: 1.057 MB / 0.7175 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007467/0.5119, allocations: 220.7 kB / 0.7177 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.5123, allocations: 403.3 kB / 0.7181 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.5123, allocations: 0 / 0.7181 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.184/2.697, allocations: 31.98 MB / 0.7494 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/2.697, allocations: 264.9 kB / 0.7496 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/5.649, allocations: 0 / 0.7496 GB, free: 5.512 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)