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.001387/0.001387, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001415/0.001415, allocations: 214.4 kB / 23.78 MB, free: 4.523 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.955/0.955, allocations: 150 MB / 464 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",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.002061/0.002061, allocations: 66.2 kB / 0.642 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1736, allocations: 89.17 MB / 0.729 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4157/0.5893, allocations: 65.04 MB / 0.7925 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02586/0.6151, allocations: 17.52 MB / 0.8097 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.6177, allocations: 95.94 kB / 0.8098 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.6203, allocations: 0.8225 MB / 0.8106 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009238/0.6295, allocations: 3.019 MB / 0.8135 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004974/0.6345, allocations: 1.7 MB / 0.8152 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007303/0.6418, allocations: 4.089 MB / 0.8192 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.6445, allocations: 1.146 MB / 0.8203 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006829/0.6514, allocations: 2.004 MB / 0.8222 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.6543, allocations: 1.206 MB / 0.8234 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006569/0.655, allocations: 175.5 kB / 0.8236 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00348/0.6585, allocations: 1.182 MB / 0.8247 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006539/0.6591, allocations: 400.2 kB / 0.8251 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.6611, allocations: 0.7223 MB / 0.8258 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005988/0.6671, allocations: 3.108 MB / 0.8289 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6671, allocations: 0 / 0.8289 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6671, allocations: 0 / 0.8289 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.594e-05/0.6672, allocations: 5.312 kB / 0.8289 GB, free: 10.14 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.00477/0.6719, allocations: 2.019 MB / 0.8308 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.672, allocations: 8.781 kB / 0.8308 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.244e-05/0.672, allocations: 27 kB / 0.8309 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.6722, allocations: 158.7 kB / 0.831 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.6748, allocations: 457.7 kB / 0.8315 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/0.6783, allocations: 1.52 MB / 0.8329 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/0.6784, allocations: 82.14 kB / 0.833 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.6785, allocations: 104.8 kB / 0.8331 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.6812, allocations: 1.416 MB / 0.8345 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.6813, allocations: 3.938 kB / 0.8345 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.6814, allocations: 46.56 kB / 0.8345 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.6814, allocations: 34.59 kB / 0.8346 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.6841, allocations: 1.101 MB / 0.8357 GB, free: 5.371 MB / 0.6075 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.008546/0.6926, allocations: 5.607 MB / 0.8411 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.6957, allocations: 0.777 MB / 0.8419 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/0.6963, allocations: 270.6 kB / 0.8421 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/0.6969, allocations: 157.2 kB / 0.8423 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.6969, allocations: 38.91 kB / 0.8423 GB, free: 84 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.535e-06/0.6969, allocations: 0 / 0.8423 GB, free: 84 kB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.004731/0.7016, allocations: 1.263 MB / 0.8436 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.7017, allocations: 58.11 kB / 0.8436 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.704, allocations: 1.555 MB / 0.8451 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/0.7041, allocations: 39.2 kB / 0.8452 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006568/0.7048, allocations: 0.6774 MB / 0.8458 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.705, allocations: 179.3 kB / 0.846 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.7053, allocations: 178.9 kB / 0.8462 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.7055, allocations: 339.9 kB / 0.8465 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009422/0.7064, allocations: 373.2 kB / 0.8469 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.7079, allocations: 0.9863 MB / 0.8478 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.7099, allocations: 0.8858 MB / 0.8487 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.7099, allocations: 0 / 0.8487 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003396/0.7133, allocations: 1.197 MB / 0.8499 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.7133, allocations: 8 kB / 0.8499 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.7133, allocations: 8 kB / 0.8499 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009964/0.7143, allocations: 220.6 kB / 0.8501 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/0.7151, allocations: 187.7 kB / 0.8503 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/0.7161, allocations: 0.7279 MB / 0.851 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.718, allocations: 211 kB / 0.8512 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.7181, allocations: 43.98 kB / 0.8512 GB, free: 8.297 MB / 0.6231 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.0006971/0.7188, allocations: 365.5 kB / 0.8516 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/0.7192, allocations: 159 kB / 0.8517 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.7217, allocations: 1.148 MB / 0.8528 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.7217, allocations: 11.98 kB / 0.8529 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7217, allocations: 0 / 0.8529 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.7217, allocations: 4.984 kB / 0.8529 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/0.7273, allocations: 2.305 MB / 0.8551 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.7273, allocations: 3.938 kB / 0.8551 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.7277, allocations: 92 kB / 0.8552 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008003/0.7285, allocations: 200.6 kB / 0.8554 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.7286, allocations: 19.98 kB / 0.8554 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.7299, allocations: 0.7755 MB / 0.8562 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7299, allocations: 0 / 0.8562 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.7337, allocations: 1.23 MB / 0.8574 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000725/0.7344, allocations: 278.7 kB / 0.8576 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.7346, allocations: 12 kB / 0.8576 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009677/0.7356, allocations: 71.91 kB / 0.8577 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.7357, allocations: 44.36 kB / 0.8578 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.7358, allocations: 35.98 kB / 0.8578 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001891/0.7377, allocations: 1.09 MB / 0.8589 GB, free: 344 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7377, allocations: 3.938 kB / 0.8589 GB, free: 340 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001516/0.7392, allocations: 455.1 kB / 0.8593 GB, free: 15.88 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.004695/0.7439, allocations: 2.118 MB / 0.8614 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002256/0.7461, allocations: 0.8363 MB / 0.8622 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7461, allocations: 0 / 0.8622 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.7475, allocations: 427.4 kB / 0.8626 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/0.7508, allocations: 0.7446 MB / 0.8633 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/0.7703, allocations: 10.55 MB / 0.8736 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.7709, allocations: 0.5799 MB / 0.8742 GB, free: 208 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001135/0.772, allocations: 272.2 kB / 0.8744 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008612/0.7729, allocations: 0.5461 MB / 0.875 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/0.7729, allocations: 0 / 0.875 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08888/0.8618, allocations: 46.59 MB / 0.9205 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.75/17.61, allocations: 18.8 kB / 0.9205 GB, free: 1.508 MB / 0.6856 GB " [Timeout remaining time 642] (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 os._exit(0), Time elapsed: 21.47369330190122] Failed to read output from testmodel.py, exit status != 0: 17.810372548061423 17.827268562 17.156678921 Calling exit ...