Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.001518/0.001518, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001679/0.001679, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8822/0.8822, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.0002661, allocations: 8.875 kB / 0.5069 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 82.31 MB / 0.5873 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.2368/0.3603, allocations: 51.26 MB / 0.6373 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008939/0.3692, allocations: 10.31 MB / 0.6474 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006774/0.3699, allocations: 44.16 kB / 0.6474 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.371, allocations: 0.633 MB / 0.6481 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.3738, allocations: 1.945 MB / 0.65 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.3761, allocations: 1.305 MB / 0.6512 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.3776, allocations: 1.85 MB / 0.653 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007087/0.3784, allocations: 0.8065 MB / 0.6538 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.3794, allocations: 0.9874 MB / 0.6548 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.3799, allocations: 0.5936 MB / 0.6554 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.764e-05/0.38, allocations: 42 kB / 0.6554 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.3814, allocations: 1.016 MB / 0.6564 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3815, allocations: 185.3 kB / 0.6566 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.3817, allocations: 285.9 kB / 0.6569 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.3828, allocations: 1.588 MB / 0.6584 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.3828, allocations: 0 / 0.6584 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3828, allocations: 0 / 0.6584 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.3828, allocations: 0 / 0.6584 GB, free: 11.27 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.001948/0.3848, allocations: 1.492 MB / 0.6599 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.3848, allocations: 8.906 kB / 0.6599 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.3849, allocations: 123.2 kB / 0.66 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.3864, allocations: 384.9 kB / 0.6604 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.3878, allocations: 1.047 MB / 0.6614 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.3881, allocations: 122.9 kB / 0.6615 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.681e-05/0.3882, allocations: 91.83 kB / 0.6616 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.3898, allocations: 0.9514 MB / 0.6625 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3898, allocations: 8.719 kB / 0.6625 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.3899, allocations: 36.09 kB / 0.6626 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.3899, allocations: 19.97 kB / 0.6626 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.3918, allocations: 0.8382 MB / 0.6634 GB, free: 8.609 MB / 0.4981 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.004728/0.3965, allocations: 4.826 MB / 0.6681 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.3979, allocations: 0.6051 MB / 0.6687 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009196/0.3988, allocations: 1.395 MB / 0.6701 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.3989, allocations: 45.78 kB / 0.6701 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.3989, allocations: 0 / 0.6701 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006255/0.4051, allocations: 1.834 MB / 0.6719 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.679e-05/0.4052, allocations: 55.84 kB / 0.6719 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.4064, allocations: 1.062 MB / 0.673 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.4064, allocations: 37.8 kB / 0.673 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.4067, allocations: 0.5263 MB / 0.6735 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.4068, allocations: 154 kB / 0.6737 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.4069, allocations: 10.28 kB / 0.6737 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.4069, allocations: 329.5 kB / 0.674 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.4076, allocations: 287.3 kB / 0.6743 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007658/0.4084, allocations: 492 kB / 0.6747 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.4091, allocations: 314.8 kB / 0.675 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4091, allocations: 1.25 kB / 0.675 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002061/0.4111, allocations: 0.9687 MB / 0.676 GB, free: 464 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004424/0.4116, allocations: 1.581 MB / 0.6775 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4116, allocations: 3.375 kB / 0.6775 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.4128, allocations: 331 kB / 0.6779 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.4132, allocations: 114.2 kB / 0.678 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.4145, allocations: 0.942 MB / 0.6789 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.4155, allocations: 182 kB / 0.6791 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.4156, allocations: 29.86 kB / 0.6791 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4156, allocations: 3.031 kB / 0.6791 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001999/0.4176, allocations: 0.8452 MB / 0.6799 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4177, allocations: 4.125 kB / 0.6799 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000986/0.4187, allocations: 329.4 kB / 0.6802 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.4191, allocations: 114.1 kB / 0.6803 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.4204, allocations: 0.9408 MB / 0.6813 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/0.4213, allocations: 157.8 kB / 0.6814 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.4213, allocations: 27.02 kB / 0.6814 GB, free: 12.88 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.4217, allocations: 353.5 kB / 0.6818 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.4218, allocations: 111 kB / 0.6819 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/0.4245, allocations: 1.076 MB / 0.6829 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4246, allocations: 8.891 kB / 0.6829 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4246, allocations: 0 / 0.6829 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4246, allocations: 2.859 kB / 0.6829 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004436/0.429, allocations: 2.179 MB / 0.6851 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.429, allocations: 3.219 kB / 0.6851 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.4292, allocations: 60.27 kB / 0.6851 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009136/0.4301, allocations: 325.1 kB / 0.6854 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.4302, allocations: 16.34 kB / 0.6855 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.4315, allocations: 0.9671 MB / 0.6864 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4315, allocations: 7.719 kB / 0.6864 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.4346, allocations: 1.302 MB / 0.6877 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.435, allocations: 287.6 kB / 0.688 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.4351, allocations: 13.22 kB / 0.688 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/0.4359, allocations: 105.8 kB / 0.6881 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.436, allocations: 43.34 kB / 0.6881 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.436, allocations: 23.69 kB / 0.6881 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009883/0.437, allocations: 0.7492 MB / 0.6889 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.437, allocations: 0 / 0.6889 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001273/0.4383, allocations: 0.5614 MB / 0.6894 GB, free: 9.035 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004021/0.4423, allocations: 2.744 MB / 0.6921 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.4448, allocations: 1.051 MB / 0.6931 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4448, allocations: 0 / 0.6931 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.4455, allocations: 327 kB / 0.6934 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.4475, allocations: 0.4986 MB / 0.6939 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.4521, allocations: 5.65 MB / 0.6994 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.4526, allocations: 1.087 MB / 0.7005 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007323/0.4534, allocations: 212.5 kB / 0.7007 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.4538, allocations: 412.2 kB / 0.7011 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.4538, allocations: 0 / 0.7011 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.003/1.457, allocations: 33.1 MB / 0.7334 GB, free: 5.688 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/1.457, allocations: 261.9 kB / 0.7337 GB, free: 5.352 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/4.285, allocations: 4 kB / 0.7337 GB, free: 5.348 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: