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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002389/0.002389, allocations: 224.9 kB / 23.01 MB, free: 5.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9669/0.9669, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003503/0.003503, allocations: 65.45 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1744, allocations: 89.16 MB / 0.7283 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4307/0.6051, allocations: 72.02 MB / 0.7987 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02796/0.6331, allocations: 19.11 MB / 0.8173 GB, free: 280 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003133/0.6362, allocations: 95.06 kB / 0.8174 GB, free: 228 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.6395, allocations: 0.8468 MB / 0.8183 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.6495, allocations: 3.055 MB / 0.8212 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005318/0.6548, allocations: 1.713 MB / 0.8229 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007073/0.6619, allocations: 4.074 MB / 0.8269 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.6645, allocations: 1.171 MB / 0.828 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005811/0.6704, allocations: 1.981 MB / 0.83 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.6733, allocations: 1.21 MB / 0.8311 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006726/0.674, allocations: 175.6 kB / 0.8313 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00445/0.6784, allocations: 1.49 MB / 0.8328 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006748/0.6791, allocations: 399.6 kB / 0.8332 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002017/0.6811, allocations: 0.9206 MB / 0.8341 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006161/0.6873, allocations: 3.157 MB / 0.8371 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6873, allocations: 0 / 0.8371 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6873, allocations: 4 kB / 0.8371 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.142e-05/0.6874, allocations: 1.469 kB / 0.8371 GB, free: 3.547 MB / 0.6075 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.005367/0.6927, allocations: 2.012 MB / 0.8391 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6928, allocations: 9.312 kB / 0.8391 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002715/0.693, allocations: 159 kB / 0.8393 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.6956, allocations: 459.4 kB / 0.8397 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/0.6989, allocations: 1.518 MB / 0.8412 GB, free: 500 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.098e-05/0.699, allocations: 80.72 kB / 0.8413 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.6992, allocations: 105.2 kB / 0.8414 GB, free: 428 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.7019, allocations: 1.315 MB / 0.8426 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.7019, allocations: 6.688 kB / 0.8427 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.702, allocations: 44 kB / 0.8427 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.702, allocations: 28.44 kB / 0.8427 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/0.7048, allocations: 1.107 MB / 0.8438 GB, free: 14.9 MB / 0.6231 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.01021/0.715, allocations: 7.37 MB / 0.851 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.7182, allocations: 0.7769 MB / 0.8518 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.7188, allocations: 267.4 kB / 0.852 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.7193, allocations: 162.9 kB / 0.8522 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.7194, allocations: 38.03 kB / 0.8522 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 3.025e-06/0.7194, allocations: 0 / 0.8522 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004868/0.7243, allocations: 1.264 MB / 0.8534 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.7243, allocations: 56.53 kB / 0.8535 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.7273, allocations: 1.559 MB / 0.855 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.7274, allocations: 41.7 kB / 0.8551 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000726/0.7281, allocations: 0.6819 MB / 0.8557 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.7283, allocations: 174.5 kB / 0.8559 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.7287, allocations: 178.5 kB / 0.8561 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7289, allocations: 341.9 kB / 0.8564 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.7299, allocations: 361.8 kB / 0.8567 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.7313, allocations: 0.6623 MB / 0.8574 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.7332, allocations: 0.8858 MB / 0.8582 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.7332, allocations: 3.984 kB / 0.8582 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003296/0.7365, allocations: 1.193 MB / 0.8594 GB, free: 464 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.7365, allocations: 8 kB / 0.8594 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.7366, allocations: 8 kB / 0.8594 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009361/0.7375, allocations: 220.6 kB / 0.8596 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.7383, allocations: 195.6 kB / 0.8598 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.7393, allocations: 0.724 MB / 0.8605 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.7411, allocations: 219 kB / 0.8607 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.7412, allocations: 39.98 kB / 0.8608 GB, free: 15.02 MB / 0.6387 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.0007018/0.7419, allocations: 357.6 kB / 0.8611 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/0.7424, allocations: 159 kB / 0.8613 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.7451, allocations: 1.148 MB / 0.8624 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.7452, allocations: 8 kB / 0.8624 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.7452, allocations: 8 kB / 0.8624 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.7452, allocations: 3.984 kB / 0.8624 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006031/0.7512, allocations: 2.511 MB / 0.8649 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/0.7512, allocations: 0 / 0.8649 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.7516, allocations: 84.08 kB / 0.8649 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008193/0.7524, allocations: 216.5 kB / 0.8651 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.7525, allocations: 19.98 kB / 0.8652 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.7539, allocations: 0.7723 MB / 0.8659 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.7539, allocations: 7.969 kB / 0.8659 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/0.7576, allocations: 1.219 MB / 0.8671 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009186/0.7585, allocations: 290.6 kB / 0.8674 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/0.7589, allocations: 12 kB / 0.8674 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.76, allocations: 71.91 kB / 0.8675 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.7601, allocations: 44.36 kB / 0.8675 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.7602, allocations: 23.98 kB / 0.8675 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002155/0.7624, allocations: 1.09 MB / 0.8686 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7624, allocations: 0 / 0.8686 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001645/0.764, allocations: 455.1 kB / 0.869 GB, free: 6.422 MB / 0.6387 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.004875/0.7689, allocations: 2.119 MB / 0.8711 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.7713, allocations: 0.8286 MB / 0.8719 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7713, allocations: 0 / 0.8719 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.7727, allocations: 423.4 kB / 0.8723 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/0.7765, allocations: 0.7415 MB / 0.873 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/0.7974, allocations: 10.55 MB / 0.8833 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009759/0.7983, allocations: 1.176 MB / 0.8845 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001132/0.7995, allocations: 264.2 kB / 0.8847 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000889/0.8004, allocations: 0.5539 MB / 0.8853 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/0.8004, allocations: 4 kB / 0.8853 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09792/0.8983, allocations: 44.53 MB / 0.9288 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/16.92, allocations: 13.72 kB / 0.9288 GB, free: 9.23 MB / 0.7012 GB " [Timeout remaining time 643] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.865940941963345] Failed to read output from testmodel.py, exit status != 0: 17.06947757792659 17.089502014 16.398173428 Calling exit ...