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.001781/0.001781, allocations: 107 kB / 16.4 MB, free: 6.492 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.002021/0.002021, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.736/0.736, allocations: 115.3 MB / 406.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 70.86 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1619, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07602/0.238, allocations: 70.43 MB / 0.7004 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02982/0.2678, allocations: 18.93 MB / 0.7188 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.2711, allocations: 71.56 kB / 0.7189 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.2743, allocations: 0.8111 MB / 0.7197 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009839/0.2843, allocations: 2.865 MB / 0.7225 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/0.2885, allocations: 1.642 MB / 0.7241 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006174/0.2947, allocations: 4.054 MB / 0.7281 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002257/0.297, allocations: 1.453 MB / 0.7295 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.3015, allocations: 1.804 MB / 0.7312 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.3039, allocations: 1.175 MB / 0.7324 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006089/0.3045, allocations: 180 kB / 0.7326 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003545/0.308, allocations: 1.412 MB / 0.7339 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.3085, allocations: 394.6 kB / 0.7343 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.3098, allocations: 0.9138 MB / 0.7352 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005096/0.3149, allocations: 3.105 MB / 0.7382 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3149, allocations: 0 / 0.7382 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3149, allocations: 0 / 0.7382 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.233e-05/0.3149, allocations: 0 / 0.7382 GB, free: 7.32 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.003745/0.3187, allocations: 2.027 MB / 0.7402 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.3187, allocations: 12.03 kB / 0.7402 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.3189, allocations: 152.6 kB / 0.7404 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.3211, allocations: 450.1 kB / 0.7408 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.3238, allocations: 1.551 MB / 0.7423 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.3239, allocations: 78.03 kB / 0.7424 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.324, allocations: 104 kB / 0.7425 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.3264, allocations: 1.309 MB / 0.7438 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3265, allocations: 7.938 kB / 0.7438 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.612e-05/0.3266, allocations: 40 kB / 0.7438 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.3266, allocations: 31.94 kB / 0.7438 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.3292, allocations: 1.104 MB / 0.7449 GB, free: 236 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.3269/0.6561, allocations: 7.49 MB / 0.7522 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.6593, allocations: 0.803 MB / 0.753 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005713/0.6598, allocations: 282.9 kB / 0.7533 GB, free: 105 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009011/0.6607, allocations: 1.722 MB / 0.755 GB, free: 103 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.6608, allocations: 44.44 kB / 0.755 GB, free: 103 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.454e-06/0.6608, allocations: 3.469 kB / 0.755 GB, free: 103 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.005174/0.666, allocations: 1.332 MB / 0.7563 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.666, allocations: 57.48 kB / 0.7564 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.6687, allocations: 1.542 MB / 0.7579 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.943e-05/0.6688, allocations: 33.92 kB / 0.7579 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/0.6693, allocations: 0.6792 MB / 0.7586 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.6694, allocations: 175.2 kB / 0.7587 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.6697, allocations: 175.1 kB / 0.7589 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.6698, allocations: 337 kB / 0.7592 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009443/0.6707, allocations: 366.7 kB / 0.7596 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.6718, allocations: 0.6577 MB / 0.7602 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.6735, allocations: 0.8797 MB / 0.7611 GB, free: 99.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.6735, allocations: 3.594 kB / 0.7611 GB, free: 99.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003182/0.6767, allocations: 1.195 MB / 0.7623 GB, free: 99.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.6767, allocations: 7.969 kB / 0.7623 GB, free: 99.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.6768, allocations: 11.5 kB / 0.7623 GB, free: 99.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009827/0.6778, allocations: 227.5 kB / 0.7625 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008661/0.6786, allocations: 191 kB / 0.7627 GB, free: 99.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008841/0.6795, allocations: 0.721 MB / 0.7634 GB, free: 98.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.6812, allocations: 210.3 kB / 0.7636 GB, free: 98.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.6813, allocations: 44.02 kB / 0.7636 GB, free: 98.41 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.0006142/0.6819, allocations: 360.6 kB / 0.764 GB, free: 98.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.6822, allocations: 145.1 kB / 0.7641 GB, free: 98.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.6845, allocations: 1.144 MB / 0.7652 GB, free: 97.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.6846, allocations: 9.031 kB / 0.7652 GB, free: 97.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6846, allocations: 6 kB / 0.7652 GB, free: 97.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.6846, allocations: 4.812 kB / 0.7652 GB, free: 97.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005064/0.6897, allocations: 2.504 MB / 0.7677 GB, free: 96.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6897, allocations: 2.562 kB / 0.7677 GB, free: 96.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.6901, allocations: 89.25 kB / 0.7678 GB, free: 96.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007091/0.6908, allocations: 208.1 kB / 0.768 GB, free: 96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.6908, allocations: 18.23 kB / 0.768 GB, free: 95.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.692, allocations: 0.7733 MB / 0.7687 GB, free: 95.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.692, allocations: 5.312 kB / 0.7687 GB, free: 95.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.6953, allocations: 1.209 MB / 0.7699 GB, free: 94.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/0.6959, allocations: 350.3 kB / 0.7703 GB, free: 94.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.696, allocations: 17.31 kB / 0.7703 GB, free: 94.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/0.6969, allocations: 73.44 kB / 0.7703 GB, free: 94.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.697, allocations: 35.67 kB / 0.7704 GB, free: 94.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/0.6971, allocations: 37.23 kB / 0.7704 GB, free: 94.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001556/0.6986, allocations: 1.079 MB / 0.7715 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6986, allocations: 4 kB / 0.7715 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001328/0.7, allocations: 451.8 kB / 0.7719 GB, free: 93.54 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.004118/0.7041, allocations: 2.116 MB / 0.774 GB, free: 92.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.706, allocations: 0.8441 MB / 0.7748 GB, free: 91.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.706, allocations: 1 kB / 0.7748 GB, free: 91.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.7072, allocations: 444.4 kB / 0.7752 GB, free: 91.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/0.7101, allocations: 0.7491 MB / 0.776 GB, free: 91.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.7241, allocations: 10.45 MB / 0.7862 GB, free: 82.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.7246, allocations: 1.168 MB / 0.7873 GB, free: 81.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000956/0.7256, allocations: 265.1 kB / 0.7876 GB, free: 81.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/0.7262, allocations: 0.5538 MB / 0.7881 GB, free: 80.45 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.7262, allocations: 4 kB / 0.7881 GB, free: 80.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06311/0.7893, allocations: 44.45 MB / 0.8315 GB, free: 36.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.95, allocations: 18.78 kB / 0.8315 GB, free: 36.47 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)