Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_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.0007211/0.000721, allocations: 98.58 kB / 16.02 MB, free: 80 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.0007687/0.0007688, allocations: 182.3 kB / 16.92 MB, free: 6.773 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.225/1.225, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6522/0.6522, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002776, allocations: 8 kB / 495.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 77.53 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.2822/0.4045, allocations: 59.7 MB / 0.6183 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.4203, allocations: 11.91 MB / 0.63 GB, free: 7.109 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.422, allocations: 48.88 kB / 0.63 GB, free: 7.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.4234, allocations: 0.5524 MB / 0.6305 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.4277, allocations: 1.806 MB / 0.6323 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.4304, allocations: 1.069 MB / 0.6334 GB, free: 5.023 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004352/0.4348, allocations: 3.906 MB / 0.6372 GB, free: 2.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.436, allocations: 0.8976 MB / 0.638 GB, free: 2.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.4381, allocations: 1.128 MB / 0.6391 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.4394, allocations: 0.8531 MB / 0.64 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.4395, allocations: 39.22 kB / 0.64 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.4419, allocations: 1.36 MB / 0.6413 GB, free: 360 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.4421, allocations: 219.1 kB / 0.6416 GB, free: 192 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.4427, allocations: 0.6339 MB / 0.6422 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.4451, allocations: 2.212 MB / 0.6443 GB, free: 14.33 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.4452, allocations: 0 / 0.6443 GB, free: 14.33 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4452, allocations: 4 kB / 0.6443 GB, free: 14.33 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.4452, allocations: 0 / 0.6443 GB, free: 14.33 MB / 478.1 MB 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.002362/0.4476, allocations: 1.501 MB / 0.6458 GB, free: 13.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4476, allocations: 10.22 kB / 0.6458 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.4477, allocations: 123.2 kB / 0.6459 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.4494, allocations: 384.3 kB / 0.6463 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.4511, allocations: 1.132 MB / 0.6474 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.4515, allocations: 126.8 kB / 0.6475 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.4516, allocations: 78.88 kB / 0.6476 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.4533, allocations: 0.9722 MB / 0.6486 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4534, allocations: 3.906 kB / 0.6486 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.445e-05/0.4534, allocations: 37.16 kB / 0.6486 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4535, allocations: 19.66 kB / 0.6486 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.4555, allocations: 0.8513 MB / 0.6494 GB, free: 10.85 MB / 478.1 MB 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.005521/0.461, allocations: 4.806 MB / 0.6541 GB, free: 5.828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.4626, allocations: 0.6089 MB / 0.6547 GB, free: 5.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006443/0.4632, allocations: 280.7 kB / 0.655 GB, free: 4.934 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.4646, allocations: 1.396 MB / 0.6564 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4646, allocations: 38.56 kB / 0.6564 GB, free: 3.195 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.894e-06/0.4646, allocations: 0 / 0.6564 GB, free: 3.195 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.006193/0.4708, allocations: 1.697 MB / 0.6581 GB, free: 1.469 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.4709, allocations: 59.41 kB / 0.6581 GB, free: 1.398 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.4723, allocations: 1.063 MB / 0.6591 GB, free: 328 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.4723, allocations: 33.7 kB / 0.6592 GB, free: 288 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.4727, allocations: 0.5196 MB / 0.6597 GB, free: 15.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.4728, allocations: 153.8 kB / 0.6598 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.4729, allocations: 49.69 kB / 0.6599 GB, free: 15.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.473, allocations: 326 kB / 0.6602 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007755/0.4738, allocations: 288.9 kB / 0.6605 GB, free: 14.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009345/0.4748, allocations: 0.4895 MB / 0.6609 GB, free: 14.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.4762, allocations: 0.6615 MB / 0.6616 GB, free: 13.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4762, allocations: 0 / 0.6616 GB, free: 13.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002365/0.4786, allocations: 0.9846 MB / 0.6626 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.4787, allocations: 195.3 kB / 0.6627 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4787, allocations: 4.094 kB / 0.6627 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.48, allocations: 332.6 kB / 0.6631 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.4805, allocations: 119.8 kB / 0.6632 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.482, allocations: 0.9395 MB / 0.6641 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.4832, allocations: 183.2 kB / 0.6643 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.4833, allocations: 27.98 kB / 0.6643 GB, free: 10.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.4833, allocations: 4 kB / 0.6643 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002192/0.4855, allocations: 0.8435 MB / 0.6651 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4855, allocations: 7.938 kB / 0.6651 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.4866, allocations: 337.7 kB / 0.6655 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.4871, allocations: 111.9 kB / 0.6656 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.4885, allocations: 0.9377 MB / 0.6665 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.4895, allocations: 162.8 kB / 0.6666 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.4896, allocations: 24 kB / 0.6667 GB, free: 8.359 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0004472/0.49, allocations: 356.9 kB / 0.667 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.4902, allocations: 110.6 kB / 0.6671 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.4924, allocations: 0.9474 MB / 0.668 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.4924, allocations: 7.984 kB / 0.668 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4924, allocations: 0 / 0.668 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4924, allocations: 0 / 0.668 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.4981, allocations: 2.339 MB / 0.6703 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4982, allocations: 4 kB / 0.6703 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.4984, allocations: 55.91 kB / 0.6704 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.4994, allocations: 330.5 kB / 0.6707 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.4995, allocations: 23.94 kB / 0.6707 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.501, allocations: 0.9698 MB / 0.6717 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.501, allocations: 4.031 kB / 0.6717 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.5053, allocations: 1.353 MB / 0.673 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.5057, allocations: 283.4 kB / 0.6733 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5059, allocations: 12 kB / 0.6733 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.5067, allocations: 103.8 kB / 0.6734 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.5068, allocations: 39.89 kB / 0.6734 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.5069, allocations: 23.98 kB / 0.6734 GB, free: 1.223 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001077/0.5079, allocations: 0.743 MB / 0.6741 GB, free: 484 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5079, allocations: 0 / 0.6741 GB, free: 484 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001417/0.5094, allocations: 0.577 MB / 0.6747 GB, free: 15.89 MB / 0.4981 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.004476/0.5139, allocations: 2.07 MB / 0.6767 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002698/0.5166, allocations: 1.063 MB / 0.6778 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5166, allocations: 0 / 0.6778 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007448/0.5173, allocations: 338.4 kB / 0.6781 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.52, allocations: 0.5063 MB / 0.6786 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/0.5357, allocations: 8.772 MB / 0.6872 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.5363, allocations: 1.065 MB / 0.6882 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008813/0.5372, allocations: 216.1 kB / 0.6884 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/0.5377, allocations: 403.3 kB / 0.6888 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of SimCode: time 2.595e-06/0.5377, allocations: 0 / 0.6888 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/0.6518, allocations: 32.41 MB / 0.7204 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/0.6521, allocations: 273.1 kB / 0.7207 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.355, allocations: 0 / 0.7207 GB, free: 0.6641 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)