Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.001469/0.001469, allocations: 105.1 kB / 16.27 MB, free: 5.93 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.001659/0.001659, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.245/1.245, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7085/0.7085, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 55.91 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2825, allocations: 77.93 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05433/0.3368, allocations: 70.44 MB / 0.6361 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02144/0.3583, allocations: 18.92 MB / 0.6545 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.3603, allocations: 67.62 kB / 0.6546 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.3623, allocations: 0.8268 MB / 0.6554 GB, free: 320 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006795/0.3691, allocations: 2.858 MB / 0.6582 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.3726, allocations: 1.64 MB / 0.6598 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004485/0.3771, allocations: 4.031 MB / 0.6637 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.379, allocations: 1.449 MB / 0.6652 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003308/0.3823, allocations: 1.775 MB / 0.6669 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.3841, allocations: 1.175 MB / 0.668 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000315/0.3844, allocations: 180 kB / 0.6682 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.3871, allocations: 1.408 MB / 0.6696 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003925/0.3875, allocations: 382.6 kB / 0.6699 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.3886, allocations: 0.9216 MB / 0.6708 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003644/0.3923, allocations: 3.07 MB / 0.6738 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3923, allocations: 4 kB / 0.6738 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3923, allocations: 3.938 kB / 0.6739 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.977e-05/0.3924, allocations: 0 / 0.6739 GB, free: 13.35 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003488/0.3959, allocations: 2.034 MB / 0.6758 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3959, allocations: 12.62 kB / 0.6759 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.3961, allocations: 152.6 kB / 0.676 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.3983, allocations: 446.2 kB / 0.6764 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.4006, allocations: 1.481 MB / 0.6779 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.401, allocations: 134 kB / 0.678 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.4011, allocations: 104 kB / 0.6781 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.4035, allocations: 1.321 MB / 0.6794 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.4035, allocations: 4 kB / 0.6794 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.4037, allocations: 43.98 kB / 0.6794 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.4037, allocations: 28 kB / 0.6795 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.4064, allocations: 1.112 MB / 0.6805 GB, free: 6.258 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.00777/0.4141, allocations: 7.565 MB / 0.6879 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.4172, allocations: 0.8056 MB / 0.6887 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.4179, allocations: 282 kB / 0.689 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.4191, allocations: 1.722 MB / 0.6907 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.4191, allocations: 38.94 kB / 0.6907 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.366e-06/0.4192, allocations: 4 kB / 0.6907 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004614/0.4238, allocations: 1.334 MB / 0.692 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.4238, allocations: 55.84 kB / 0.6921 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.426, allocations: 1.553 MB / 0.6936 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.4261, allocations: 37.7 kB / 0.6936 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005419/0.4266, allocations: 0.6806 MB / 0.6943 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.4268, allocations: 169.6 kB / 0.6944 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.4271, allocations: 174.4 kB / 0.6946 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4272, allocations: 337.9 kB / 0.6949 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009802/0.4282, allocations: 369.8 kB / 0.6953 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.4294, allocations: 0.6624 MB / 0.6959 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.4312, allocations: 0.8868 MB / 0.6968 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4312, allocations: 8 kB / 0.6968 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002953/0.4341, allocations: 1.201 MB / 0.698 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4342, allocations: 10.03 kB / 0.698 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4342, allocations: 8 kB / 0.698 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008083/0.435, allocations: 224.5 kB / 0.6982 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/0.4358, allocations: 195.7 kB / 0.6984 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008101/0.4366, allocations: 0.7201 MB / 0.6991 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.4381, allocations: 226.7 kB / 0.6993 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.477e-05/0.4382, allocations: 35.98 kB / 0.6994 GB, free: 1.727 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005192/0.4387, allocations: 354.3 kB / 0.6997 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.439, allocations: 146.2 kB / 0.6998 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.4414, allocations: 1.147 MB / 0.7009 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.4414, allocations: 15.92 kB / 0.701 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4414, allocations: 0 / 0.701 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.4414, allocations: 3.984 kB / 0.701 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/0.4466, allocations: 2.514 MB / 0.7034 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4466, allocations: 4 kB / 0.7034 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.4469, allocations: 79.89 kB / 0.7035 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007181/0.4477, allocations: 216.8 kB / 0.7037 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.4477, allocations: 15.98 kB / 0.7037 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.449, allocations: 0.7747 MB / 0.7045 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.449, allocations: 7.969 kB / 0.7045 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.4524, allocations: 1.199 MB / 0.7057 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005843/0.453, allocations: 354.9 kB / 0.706 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.4532, allocations: 12 kB / 0.706 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009153/0.4541, allocations: 75.91 kB / 0.7061 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.4542, allocations: 40.69 kB / 0.7061 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.4543, allocations: 23.98 kB / 0.7061 GB, free: 10.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001652/0.456, allocations: 1.098 MB / 0.7072 GB, free: 9.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.456, allocations: 0 / 0.7072 GB, free: 9.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001171/0.4571, allocations: 447.4 kB / 0.7076 GB, free: 9.062 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.004373/0.4615, allocations: 2.111 MB / 0.7097 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002303/0.4638, allocations: 0.8878 MB / 0.7106 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4639, allocations: 0 / 0.7106 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.4652, allocations: 439.4 kB / 0.711 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.4681, allocations: 0.7455 MB / 0.7117 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/0.485, allocations: 11.4 MB / 0.7228 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/0.4858, allocations: 1.168 MB / 0.724 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001079/0.4869, allocations: 280 kB / 0.7243 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007131/0.4876, allocations: 0.5461 MB / 0.7248 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.4876, allocations: 4 kB / 0.7248 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.264/0.7516, allocations: 43.4 MB / 0.7672 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.21, allocations: 8.812 kB / 0.7672 GB, free: 156.4 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)