Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.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.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y",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.00104/0.00104, 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.001085/0.001085, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7216/0.7216, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 65.34 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3554, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07145/0.4268, allocations: 75.13 MB / 0.6536 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01704/0.4439, allocations: 12.74 MB / 0.666 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.4461, allocations: 67.62 kB / 0.6661 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.4481, allocations: 0.8228 MB / 0.6669 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006423/0.4546, allocations: 2.453 MB / 0.6693 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.4579, allocations: 1.376 MB / 0.6706 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005315/0.4632, allocations: 4.377 MB / 0.6749 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.4652, allocations: 1.445 MB / 0.6763 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.4686, allocations: 1.62 MB / 0.6779 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.4701, allocations: 1.186 MB / 0.679 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.4704, allocations: 160 kB / 0.6792 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.4731, allocations: 1.4 MB / 0.6805 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003759/0.4735, allocations: 402.6 kB / 0.6809 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009315/0.4744, allocations: 0.9099 MB / 0.6818 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.4781, allocations: 2.84 MB / 0.6846 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4781, allocations: 0 / 0.6846 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4781, allocations: 3.938 kB / 0.6846 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.615e-05/0.4782, allocations: 0 / 0.6846 GB, free: 6.34 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00345/0.4816, allocations: 2.08 MB / 0.6866 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4817, allocations: 8.031 kB / 0.6866 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.4819, allocations: 148.1 kB / 0.6868 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007746/0.4826, allocations: 230.9 kB / 0.687 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.4848, allocations: 1.45 MB / 0.6884 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.4848, allocations: 81.98 kB / 0.6885 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.485, allocations: 100 kB / 0.6886 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.4868, allocations: 1.1 MB / 0.6897 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4869, allocations: 3.906 kB / 0.6897 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-05/0.487, allocations: 36 kB / 0.6897 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.487, allocations: 35.94 kB / 0.6897 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.4888, allocations: 0.8822 MB / 0.6906 GB, free: 32 kB / 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.005694/0.4945, allocations: 4.942 MB / 0.6954 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.4959, allocations: 0.6218 MB / 0.696 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/0.4966, allocations: 350.3 kB / 0.6964 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/0.4972, allocations: 0.8238 MB / 0.6972 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4973, allocations: 43.12 kB / 0.6972 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.795e-06/0.4973, allocations: 0 / 0.6972 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007387/0.5047, allocations: 1.674 MB / 0.6988 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.5047, allocations: 67.89 kB / 0.6989 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.5064, allocations: 1.225 MB / 0.7001 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.663e-05/0.5065, allocations: 37.7 kB / 0.7001 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.507, allocations: 0.6065 MB / 0.7007 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.5072, allocations: 208.9 kB / 0.7009 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.5074, allocations: 158.5 kB / 0.7011 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5076, allocations: 337.9 kB / 0.7014 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006662/0.5082, allocations: 292.7 kB / 0.7017 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000857/0.5091, allocations: 0.4918 MB / 0.7022 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.5106, allocations: 0.709 MB / 0.7029 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5106, allocations: 0 / 0.7029 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004907/0.5155, allocations: 1.269 MB / 0.7041 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5155, allocations: 8 kB / 0.7041 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.5155, allocations: 4 kB / 0.7041 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/0.5161, allocations: 137.1 kB / 0.7042 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.5168, allocations: 159.8 kB / 0.7044 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000854/0.5176, allocations: 0.7005 MB / 0.7051 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.5188, allocations: 119 kB / 0.7052 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/0.5189, allocations: 35.97 kB / 0.7052 GB, free: 328 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001176/0.5201, allocations: 0.5566 MB / 0.7058 GB, free: 15.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008166/0.5209, allocations: 491.8 kB / 0.7062 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001396/0.5223, allocations: 0.7012 MB / 0.7069 GB, free: 14.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.5223, allocations: 0 / 0.7069 GB, free: 14.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004723/0.5271, allocations: 1.265 MB / 0.7082 GB, free: 13.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5271, allocations: 8 kB / 0.7082 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5271, allocations: 4 kB / 0.7082 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000504/0.5276, allocations: 137 kB / 0.7083 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.5282, allocations: 163.8 kB / 0.7085 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008014/0.529, allocations: 0.6967 MB / 0.7091 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.5301, allocations: 95.55 kB / 0.7092 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/0.5302, allocations: 43.86 kB / 0.7093 GB, free: 12 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.5305, allocations: 224.8 kB / 0.7095 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/0.5309, allocations: 134.3 kB / 0.7096 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004883/0.5358, allocations: 1.259 MB / 0.7108 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.5358, allocations: 11.98 kB / 0.7109 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.5358, allocations: 0 / 0.7109 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004169/0.54, allocations: 1.103 MB / 0.7119 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/0.5467, allocations: 2.618 MB / 0.7145 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.5467, allocations: 4 kB / 0.7145 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.5472, allocations: 123.7 kB / 0.7146 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004849/0.5477, allocations: 125 kB / 0.7147 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/0.5478, allocations: 20 kB / 0.7147 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004942/0.5527, allocations: 2.583 MB / 0.7173 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5528, allocations: 4 kB / 0.7173 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005294/0.5581, allocations: 1.688 MB / 0.7189 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/0.5587, allocations: 311.2 kB / 0.7192 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.5589, allocations: 20 kB / 0.7192 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008653/0.5598, allocations: 63.83 kB / 0.7193 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.5599, allocations: 56.31 kB / 0.7194 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.175e-05/0.56, allocations: 31.97 kB / 0.7194 GB, free: 1.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001258/0.5612, allocations: 0.8816 MB / 0.7202 GB, free: 364 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5612, allocations: 0 / 0.7202 GB, free: 364 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001853/0.5631, allocations: 0.7175 MB / 0.7209 GB, free: 15.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006179/0.5693, allocations: 2.592 MB / 0.7235 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002783/0.5721, allocations: 1.149 MB / 0.7246 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5721, allocations: 4 kB / 0.7246 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.5736, allocations: 0.5642 MB / 0.7252 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/0.5773, allocations: 0.8029 MB / 0.7259 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/0.598, allocations: 10.45 MB / 0.7361 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009764/0.599, allocations: 1.168 MB / 0.7373 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00137/0.6004, allocations: 307 kB / 0.7376 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007069/0.6011, allocations: 0.5032 MB / 0.7381 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.6011, allocations: 0 / 0.7381 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5505/1.152, allocations: 42.16 MB / 0.7792 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.38, allocations: 5.812 kB / 0.7792 GB, free: 3.871 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)