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.0006848/0.0006847, allocations: 92.7 kB / 15.7 MB, free: 472 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.0007919/0.0007919, allocations: 171.8 kB / 16.58 MB, free: 6.848 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.206/1.206, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6295/0.6295, allocations: 113.7 MB / 405.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 8.781 kB / 493.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3131/0.4436, allocations: 65.05 MB / 0.6204 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.4639, allocations: 17.69 MB / 0.6377 GB, free: 2.293 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.466, allocations: 59.38 kB / 0.6377 GB, free: 2.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.4675, allocations: 0.5222 MB / 0.6382 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005623/0.4732, allocations: 2.101 MB / 0.6403 GB, free: 140 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.4762, allocations: 1.092 MB / 0.6414 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00465/0.4809, allocations: 4.377 MB / 0.6456 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.4825, allocations: 1.021 MB / 0.6466 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.4851, allocations: 1.338 MB / 0.6479 GB, free: 11.35 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.4869, allocations: 1.03 MB / 0.6489 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.4871, allocations: 60.59 kB / 0.649 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.4893, allocations: 0.9172 MB / 0.6499 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.4896, allocations: 245.5 kB / 0.6501 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.49, allocations: 368.9 kB / 0.6505 GB, free: 9.875 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.492, allocations: 2.293 MB / 0.6527 GB, free: 8.254 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.492, allocations: 0 / 0.6527 GB, free: 8.254 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.492, allocations: 0 / 0.6527 GB, free: 8.254 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.492, allocations: 0 / 0.6527 GB, free: 8.254 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00243/0.4945, allocations: 1.728 MB / 0.6544 GB, free: 6.816 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.4945, allocations: 8.031 kB / 0.6544 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.4947, allocations: 152.4 kB / 0.6546 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.4965, allocations: 0.4976 MB / 0.6551 GB, free: 6.152 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.4987, allocations: 1.459 MB / 0.6565 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.499, allocations: 150 kB / 0.6566 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.4991, allocations: 100 kB / 0.6567 GB, free: 4.391 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.5013, allocations: 1.321 MB / 0.658 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.5013, allocations: 0 / 0.658 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.382e-05/0.5014, allocations: 48 kB / 0.6581 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.5015, allocations: 24 kB / 0.6581 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.5037, allocations: 1.151 MB / 0.6592 GB, free: 1.758 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.006887/0.5106, allocations: 7.196 MB / 0.6662 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.5133, allocations: 0.891 MB / 0.6671 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.5138, allocations: 298 kB / 0.6674 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.5149, allocations: 1.726 MB / 0.6691 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5149, allocations: 39 kB / 0.6691 GB, free: 6.715 MB / 494.1 MB Notification: Performance of pre-optimization done (n=48): time 1.703e-06/0.5149, allocations: 0 / 0.6691 GB, free: 6.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=48): time 0.003941/0.5189, allocations: 1.448 MB / 0.6705 GB, free: 5.242 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.5189, allocations: 63.84 kB / 0.6706 GB, free: 5.164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.5208, allocations: 1.521 MB / 0.6721 GB, free: 3.633 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.5209, allocations: 37.7 kB / 0.6721 GB, free: 3.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.5214, allocations: 0.6614 MB / 0.6727 GB, free: 2.922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.5215, allocations: 173.6 kB / 0.6729 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.5216, allocations: 12 kB / 0.6729 GB, free: 2.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.5217, allocations: 334 kB / 0.6732 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008297/0.5225, allocations: 385.8 kB / 0.6736 GB, free: 2.031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/0.5235, allocations: 0.6588 MB / 0.6743 GB, free: 1.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008792/0.5244, allocations: 445.9 kB / 0.6747 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5244, allocations: 0 / 0.6747 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002381/0.5268, allocations: 1.216 MB / 0.6759 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5268, allocations: 8 kB / 0.6759 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5268, allocations: 8 kB / 0.6759 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/0.5275, allocations: 229.1 kB / 0.6761 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/0.5282, allocations: 203.7 kB / 0.6763 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007327/0.529, allocations: 0.7241 MB / 0.677 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.5304, allocations: 259.4 kB / 0.6772 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.5305, allocations: 51.95 kB / 0.6773 GB, free: 14.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005017/0.531, allocations: 353.5 kB / 0.6776 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.5312, allocations: 146.3 kB / 0.6778 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.5333, allocations: 1.18 MB / 0.6789 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.5333, allocations: 8 kB / 0.6789 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5333, allocations: 3.984 kB / 0.6789 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5333, allocations: 3.953 kB / 0.6789 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/0.5376, allocations: 2.584 MB / 0.6815 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5376, allocations: 4.188 kB / 0.6815 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.538, allocations: 87.89 kB / 0.6816 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006353/0.5386, allocations: 224.6 kB / 0.6818 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.5386, allocations: 19.94 kB / 0.6818 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.5397, allocations: 0.7944 MB / 0.6826 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5397, allocations: 4.047 kB / 0.6826 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.5425, allocations: 1.289 MB / 0.6838 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/0.543, allocations: 370.8 kB / 0.6842 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.5432, allocations: 15.98 kB / 0.6842 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.544, allocations: 103.9 kB / 0.6843 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.5441, allocations: 44.44 kB / 0.6843 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/0.5441, allocations: 31.94 kB / 0.6844 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001565/0.5457, allocations: 1.074 MB / 0.6854 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5457, allocations: 0 / 0.6854 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001116/0.5468, allocations: 431.3 kB / 0.6858 GB, free: 5.191 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003748/0.5506, allocations: 2.181 MB / 0.688 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.5525, allocations: 0.8641 MB / 0.6888 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.5525, allocations: 4 kB / 0.6888 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.5536, allocations: 479.5 kB / 0.6893 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.5563, allocations: 0.7011 MB / 0.6899 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/0.5775, allocations: 8.958 MB / 0.6987 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.5782, allocations: 1.164 MB / 0.6998 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001178/0.5794, allocations: 267.9 kB / 0.7001 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007045/0.5801, allocations: 0.5499 MB / 0.7006 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of SimCode: time 7.72e-07/0.5801, allocations: 0 / 0.7006 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06046/0.6406, allocations: 42.9 MB / 0.7425 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.6408, allocations: 254.6 kB / 0.7428 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.063, allocations: 4 kB / 0.7428 GB, free: 10.84 MB / 0.5606 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/linux/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) Environment - environmentSimulation: