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.001077/0.001077, allocations: 106.5 kB / 16.4 MB, free: 6.5 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.001291/0.001291, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7234/0.7234, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 58.41 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1674, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07096/0.2384, allocations: 70.42 MB / 0.7003 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02488/0.2633, allocations: 18.93 MB / 0.7188 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.2659, allocations: 71.56 kB / 0.7189 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.2686, allocations: 0.8268 MB / 0.7197 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008967/0.2776, allocations: 2.854 MB / 0.7225 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004478/0.2821, allocations: 1.65 MB / 0.7241 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005708/0.2878, allocations: 4.054 MB / 0.7281 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.2902, allocations: 1.453 MB / 0.7295 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003981/0.2942, allocations: 1.809 MB / 0.7312 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.2962, allocations: 1.175 MB / 0.7324 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.2966, allocations: 176 kB / 0.7326 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.2998, allocations: 1.419 MB / 0.7339 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.3002, allocations: 386.6 kB / 0.7343 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.3013, allocations: 0.9137 MB / 0.7352 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.3054, allocations: 3.105 MB / 0.7382 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.3055, allocations: 4 kB / 0.7382 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3055, allocations: 0 / 0.7382 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.872e-05/0.3055, allocations: 4 kB / 0.7383 GB, free: 7.277 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003483/0.309, allocations: 2.019 MB / 0.7402 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3091, allocations: 12.03 kB / 0.7402 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/0.3092, allocations: 152.6 kB / 0.7404 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.3114, allocations: 450.1 kB / 0.7408 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.3141, allocations: 1.553 MB / 0.7423 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.3142, allocations: 86.03 kB / 0.7424 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.3143, allocations: 104 kB / 0.7425 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.3167, allocations: 1.309 MB / 0.7438 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.3168, allocations: 7.938 kB / 0.7438 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.3169, allocations: 40 kB / 0.7438 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.3169, allocations: 28 kB / 0.7439 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.3193, allocations: 1.101 MB / 0.7449 GB, free: 200 kB / 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.319/0.6384, allocations: 7.491 MB / 0.7522 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/0.6416, allocations: 0.801 MB / 0.753 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005713/0.6421, allocations: 285.1 kB / 0.7533 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008804/0.643, allocations: 1.722 MB / 0.755 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6431, allocations: 42.75 kB / 0.755 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 3.186e-06/0.6431, allocations: 0 / 0.755 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004758/0.6479, allocations: 1.33 MB / 0.7563 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.6479, allocations: 57.03 kB / 0.7564 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/0.6513, allocations: 1.546 MB / 0.7579 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.6514, allocations: 43.08 kB / 0.7579 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/0.6521, allocations: 0.6726 MB / 0.7586 GB, free: 101 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.6523, allocations: 168.9 kB / 0.7587 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.6526, allocations: 174.9 kB / 0.7589 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.6527, allocations: 337.9 kB / 0.7592 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000979/0.6537, allocations: 367.1 kB / 0.7596 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.6548, allocations: 0.6566 MB / 0.7602 GB, free: 99.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.6563, allocations: 0.8938 MB / 0.7611 GB, free: 99.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.6563, allocations: 5.281 kB / 0.7611 GB, free: 99.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003062/0.6594, allocations: 1.187 MB / 0.7623 GB, free: 98.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.6595, allocations: 10.03 kB / 0.7623 GB, free: 98.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.6595, allocations: 12.53 kB / 0.7623 GB, free: 98.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.6605, allocations: 220 kB / 0.7625 GB, free: 98.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009189/0.6614, allocations: 196.8 kB / 0.7627 GB, free: 98.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008176/0.6623, allocations: 0.7162 MB / 0.7634 GB, free: 98.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.6639, allocations: 221.3 kB / 0.7636 GB, free: 98.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.664, allocations: 43.19 kB / 0.7636 GB, free: 98.07 MB / 0.5762 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.0005396/0.6646, allocations: 361.3 kB / 0.764 GB, free: 97.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.6648, allocations: 145.5 kB / 0.7641 GB, free: 97.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.6671, allocations: 1.138 MB / 0.7652 GB, free: 97.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.6671, allocations: 10.75 kB / 0.7652 GB, free: 97.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6671, allocations: 1.125 kB / 0.7652 GB, free: 97.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.6671, allocations: 4.188 kB / 0.7652 GB, free: 97.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005057/0.6722, allocations: 2.515 MB / 0.7677 GB, free: 95.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.6722, allocations: 1.406 kB / 0.7677 GB, free: 95.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.6726, allocations: 83.95 kB / 0.7678 GB, free: 95.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007289/0.6733, allocations: 215.9 kB / 0.768 GB, free: 95.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.6734, allocations: 18.67 kB / 0.768 GB, free: 95.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.6745, allocations: 0.7776 MB / 0.7688 GB, free: 94.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6745, allocations: 1.875 kB / 0.7688 GB, free: 94.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/0.6779, allocations: 1.197 MB / 0.7699 GB, free: 94.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.6786, allocations: 350.5 kB / 0.7703 GB, free: 93.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.6788, allocations: 21.05 kB / 0.7703 GB, free: 93.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008478/0.6796, allocations: 69.67 kB / 0.7704 GB, free: 93.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.6797, allocations: 44.03 kB / 0.7704 GB, free: 93.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.6798, allocations: 24.55 kB / 0.7704 GB, free: 93.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001607/0.6814, allocations: 1.091 MB / 0.7715 GB, free: 93.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.92e-07/0.6814, allocations: 3.391 kB / 0.7715 GB, free: 93.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001405/0.6828, allocations: 444 kB / 0.7719 GB, free: 93.18 MB / 0.5762 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.004059/0.6869, allocations: 2.115 MB / 0.774 GB, free: 91.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.6889, allocations: 0.8466 MB / 0.7748 GB, free: 91.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6889, allocations: 1.062 kB / 0.7748 GB, free: 91.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.69, allocations: 440.5 kB / 0.7752 GB, free: 91.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/0.6931, allocations: 0.7584 MB / 0.776 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.7084, allocations: 10.44 MB / 0.7862 GB, free: 82.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.7089, allocations: 1.172 MB / 0.7873 GB, free: 80.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001086/0.71, allocations: 259.5 kB / 0.7876 GB, free: 80.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/0.7107, allocations: 0.55 MB / 0.7881 GB, free: 80.05 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.7107, allocations: 0 / 0.7881 GB, free: 80.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06601/0.7767, allocations: 44.47 MB / 0.8315 GB, free: 36.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.82, allocations: 6.016 kB / 0.8315 GB, free: 36.06 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)