Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.005308/0.005308, allocations: 100.3 kB / 15.73 MB, free: 5.977 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.001124/0.001124, allocations: 197.3 kB / 16.67 MB, free: 5.914 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7057/0.7057, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 0.5809 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3962, allocations: 80.2 MB / 0.6592 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05257/0.4489, allocations: 61.17 MB / 0.7189 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01623/0.4651, allocations: 11.98 MB / 0.7306 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.4675, allocations: 59.62 kB / 0.7307 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.4694, allocations: 0.6791 MB / 0.7314 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005145/0.4746, allocations: 1.965 MB / 0.7333 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.4774, allocations: 1.214 MB / 0.7345 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003663/0.4811, allocations: 3.068 MB / 0.7375 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.4826, allocations: 1.1 MB / 0.7385 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.4858, allocations: 1.361 MB / 0.7399 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.4873, allocations: 0.8928 MB / 0.7407 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000299/0.4876, allocations: 116 kB / 0.7408 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.4906, allocations: 1.486 MB / 0.7423 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003514/0.4909, allocations: 290.9 kB / 0.7426 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009742/0.4919, allocations: 0.6958 MB / 0.7432 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.4955, allocations: 2.341 MB / 0.7455 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4955, allocations: 0 / 0.7455 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4955, allocations: 0 / 0.7455 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.4955, allocations: 0 / 0.7455 GB, free: 13.69 MB / 0.5762 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.002826/0.4983, allocations: 1.734 MB / 0.7472 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4984, allocations: 8.031 kB / 0.7472 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.4985, allocations: 122.9 kB / 0.7473 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.5001, allocations: 354.4 kB / 0.7477 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.5022, allocations: 1.159 MB / 0.7488 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.5023, allocations: 65.94 kB / 0.7489 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.5024, allocations: 80 kB / 0.749 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.5041, allocations: 0.9724 MB / 0.7499 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5041, allocations: 3.938 kB / 0.7499 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.5042, allocations: 32 kB / 0.7499 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.5042, allocations: 20 kB / 0.75 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.5061, allocations: 0.8 MB / 0.7507 GB, free: 8.164 MB / 0.5762 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.005926/0.512, allocations: 5.141 MB / 0.7558 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.5134, allocations: 0.5627 MB / 0.7563 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/0.514, allocations: 272.6 kB / 0.7566 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/0.5152, allocations: 1.369 MB / 0.7579 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.5153, allocations: 34.56 kB / 0.7579 GB, free: 108 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.505e-06/0.5153, allocations: 0 / 0.7579 GB, free: 108 kB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.005189/0.5205, allocations: 1.49 MB / 0.7594 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.5205, allocations: 59.41 kB / 0.7595 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.5221, allocations: 1.072 MB / 0.7605 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.781e-05/0.5222, allocations: 37.7 kB / 0.7605 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.5226, allocations: 0.5311 MB / 0.7611 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.5228, allocations: 149.8 kB / 0.7612 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.523, allocations: 146.1 kB / 0.7613 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5231, allocations: 333.9 kB / 0.7617 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/0.5238, allocations: 279.3 kB / 0.7619 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008743/0.5247, allocations: 0.4883 MB / 0.7624 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.526, allocations: 0.6676 MB / 0.7631 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.526, allocations: 0 / 0.7631 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002295/0.5283, allocations: 0.9461 MB / 0.764 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5284, allocations: 8 kB / 0.764 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5284, allocations: 4 kB / 0.764 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.5296, allocations: 312.7 kB / 0.7643 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.53, allocations: 115.8 kB / 0.7644 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.5314, allocations: 0.9035 MB / 0.7653 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.5325, allocations: 139.2 kB / 0.7654 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.738e-05/0.5326, allocations: 31.98 kB / 0.7654 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001004/0.5336, allocations: 497.2 kB / 0.7659 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008601/0.5345, allocations: 492 kB / 0.7664 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001274/0.5358, allocations: 0.6463 MB / 0.767 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.641e-06/0.5358, allocations: 0 / 0.767 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002264/0.5381, allocations: 0.9498 MB / 0.7679 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5381, allocations: 15.88 kB / 0.768 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5381, allocations: 4 kB / 0.768 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009919/0.5391, allocations: 304.6 kB / 0.7683 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.5396, allocations: 119.8 kB / 0.7684 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.5408, allocations: 0.8985 MB / 0.7692 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.542, allocations: 127.6 kB / 0.7694 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.5421, allocations: 24 kB / 0.7694 GB, free: 3.91 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (57): * Single equations (assignments): 56 * 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.0002439/0.5424, allocations: 228 kB / 0.7696 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.5426, allocations: 114.6 kB / 0.7697 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.5447, allocations: 0.8854 MB / 0.7706 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.5447, allocations: 7.984 kB / 0.7706 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5447, allocations: 0 / 0.7706 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.5448, allocations: 3.938 kB / 0.7706 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005544/0.5503, allocations: 2.211 MB / 0.7728 GB, free: 368 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.5503, allocations: 0 / 0.7728 GB, free: 368 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.5506, allocations: 59.91 kB / 0.7728 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000898/0.5515, allocations: 299.7 kB / 0.7731 GB, free: 8 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.5515, allocations: 12.05 kB / 0.7731 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.5528, allocations: 0.9384 MB / 0.774 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.5529, allocations: 7.938 kB / 0.774 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.5566, allocations: 1.22 MB / 0.7752 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.5571, allocations: 255.6 kB / 0.7755 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.5573, allocations: 19.94 kB / 0.7755 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007573/0.5581, allocations: 59.92 kB / 0.7755 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.5582, allocations: 39.89 kB / 0.7756 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/0.5582, allocations: 23.98 kB / 0.7756 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001175/0.5594, allocations: 0.7512 MB / 0.7763 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5594, allocations: 4 kB / 0.7763 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001509/0.5609, allocations: 0.5887 MB / 0.7769 GB, free: 12 MB / 0.6075 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 (34): * Single equations (assignments): 29 * 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.00405/0.565, allocations: 1.957 MB / 0.7788 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002581/0.5676, allocations: 1.038 MB / 0.7798 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5676, allocations: 0 / 0.7798 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006961/0.5683, allocations: 323.4 kB / 0.7801 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.5704, allocations: 0.5131 MB / 0.7806 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.5831, allocations: 7.916 MB / 0.7884 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/0.5838, allocations: 1.065 MB / 0.7894 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008358/0.5847, allocations: 227.1 kB / 0.7896 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/0.5852, allocations: 415.3 kB / 0.79 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of SimCode: time 7.82e-07/0.5852, allocations: 0 / 0.79 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06356/0.6488, allocations: 34.57 MB / 0.8238 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.29, allocations: 5.094 kB / 0.8238 GB, free: 12.1 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)