Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001445/0.001445, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.0014/0.0014, allocations: 159.4 kB / 23.01 MB, free: 4.961 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.396/1.396, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002486/0.002486, allocations: 228.4 kB / 260 MB, free: 456 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9153/0.9153, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003084/0.003084, allocations: 107.8 kB / 0.6473 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4457, allocations: 95.35 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06607/0.5117, allocations: 65.02 MB / 0.8039 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02639/0.5381, allocations: 17.56 MB / 0.8211 GB, free: 112 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.5405, allocations: 99.12 kB / 0.8212 GB, free: 12 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.5427, allocations: 0.8268 MB / 0.822 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007702/0.5504, allocations: 3.033 MB / 0.825 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.5544, allocations: 1.69 MB / 0.8266 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0054/0.5598, allocations: 4.074 MB / 0.8306 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.5614, allocations: 1.13 MB / 0.8317 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.5654, allocations: 1.887 MB / 0.8335 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.5673, allocations: 1.16 MB / 0.8347 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.5675, allocations: 176 kB / 0.8348 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.5701, allocations: 1.162 MB / 0.836 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004455/0.5705, allocations: 402.4 kB / 0.8363 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009748/0.5715, allocations: 0.7156 MB / 0.837 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.5756, allocations: 3.092 MB / 0.8401 GB, free: 12.6 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5756, allocations: 0 / 0.8401 GB, free: 12.6 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5756, allocations: 0 / 0.8401 GB, free: 12.6 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.439e-05/0.5757, allocations: 0 / 0.8401 GB, free: 12.6 MB / 0.67 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.003492/0.5792, allocations: 2.011 MB / 0.842 GB, free: 10.54 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.5792, allocations: 9.344 kB / 0.842 GB, free: 10.53 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.5815, allocations: 451.4 kB / 0.8425 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.5843, allocations: 1.516 MB / 0.8439 GB, free: 8.523 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.993e-05/0.5844, allocations: 78.03 kB / 0.844 GB, free: 8.445 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.5846, allocations: 104 kB / 0.8441 GB, free: 8.344 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.5873, allocations: 1.414 MB / 0.8455 GB, free: 6.797 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.5873, allocations: 3.938 kB / 0.8455 GB, free: 6.793 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.5874, allocations: 44 kB / 0.8455 GB, free: 6.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.5874, allocations: 28 kB / 0.8456 GB, free: 6.723 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.5903, allocations: 1.097 MB / 0.8466 GB, free: 5.625 MB / 0.67 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.007945/0.5982, allocations: 5.398 MB / 0.8519 GB, free: 84 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.6016, allocations: 0.7724 MB / 0.8527 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.6022, allocations: 266.2 kB / 0.8529 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005305/0.6027, allocations: 160.4 kB / 0.8531 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.6028, allocations: 39.06 kB / 0.8531 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.294e-06/0.6028, allocations: 4 kB / 0.8531 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.005023/0.6078, allocations: 1.238 MB / 0.8543 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.6078, allocations: 59.91 kB / 0.8544 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.6098, allocations: 1.22 MB / 0.8556 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.6099, allocations: 37.7 kB / 0.8556 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006559/0.6105, allocations: 0.707 MB / 0.8563 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.6107, allocations: 182.5 kB / 0.8565 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.611, allocations: 170.5 kB / 0.8566 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6112, allocations: 334 kB / 0.857 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.6122, allocations: 365.8 kB / 0.8573 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.6137, allocations: 0.9886 MB / 0.8583 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.6157, allocations: 0.886 MB / 0.8591 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6157, allocations: 0 / 0.8591 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003061/0.6188, allocations: 1.177 MB / 0.8603 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.6188, allocations: 8 kB / 0.8603 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6188, allocations: 8 kB / 0.8603 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008726/0.6197, allocations: 220.7 kB / 0.8605 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/0.6205, allocations: 191.7 kB / 0.8607 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009734/0.6215, allocations: 0.7201 MB / 0.8614 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.6227, allocations: 175.4 kB / 0.8616 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/0.6228, allocations: 40.08 kB / 0.8616 GB, free: 5.738 MB / 0.6856 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.0005652/0.6234, allocations: 361.5 kB / 0.8619 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.6236, allocations: 123.2 kB / 0.8621 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.6262, allocations: 1.141 MB / 0.8632 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.6262, allocations: 11.98 kB / 0.8632 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6262, allocations: 3.984 kB / 0.8632 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.6262, allocations: 4 kB / 0.8632 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005409/0.6316, allocations: 2.188 MB / 0.8653 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.6316, allocations: 4 kB / 0.8653 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.632, allocations: 79.88 kB / 0.8654 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007745/0.6328, allocations: 220.8 kB / 0.8656 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.6328, allocations: 12 kB / 0.8656 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.6343, allocations: 0.767 MB / 0.8664 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6343, allocations: 4 kB / 0.8664 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/0.6379, allocations: 1.194 MB / 0.8676 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/0.6384, allocations: 242.8 kB / 0.8678 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.6386, allocations: 16 kB / 0.8678 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/0.6394, allocations: 63.86 kB / 0.8679 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.6395, allocations: 44.36 kB / 0.8679 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.6396, allocations: 31.98 kB / 0.8679 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001527/0.6411, allocations: 0.851 MB / 0.8688 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6411, allocations: 0 / 0.8688 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00135/0.6424, allocations: 482.7 kB / 0.8692 GB, free: 13.78 MB / 0.7012 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.0008398/0.6433, allocations: 463.2 kB / 0.8697 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.6455, allocations: 0.8288 MB / 0.8705 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.6455, allocations: 4 kB / 0.8705 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.6469, allocations: 427.1 kB / 0.8709 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.6489, allocations: 474.9 kB / 0.8713 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.6537, allocations: 2.267 MB / 0.8736 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008299/0.6545, allocations: 0.5862 MB / 0.8741 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.6554, allocations: 216.6 kB / 0.8743 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.6557, allocations: 100.4 kB / 0.8744 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of SimCode: time 1.263e-06/0.6557, allocations: 3.938 kB / 0.8744 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of Templates: time 0.04555/0.7012, allocations: 25.06 MB / 0.8989 GB, free: 15.83 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.797943515935913] Failed to read output from testmodel.py, exit status != 0: 0.7098516420228407 0.724400744 0.145637014 Calling exit ...