Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001589/0.001589, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002121/0.002121, allocations: 218.6 kB / 22.25 MB, free: 5.254 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.241/3.241, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.00204/0.00204, allocations: 64.3 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.374, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07607/0.4501, allocations: 65.19 MB / 1.39 GB, free: 32 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02582/0.4759, allocations: 17.56 MB / 1.407 GB, free: 14.42 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.4782, allocations: 95.19 kB / 1.407 GB, free: 14.32 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.4806, allocations: 0.8267 MB / 1.408 GB, free: 13.49 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007938/0.4885, allocations: 3.022 MB / 1.411 GB, free: 10.46 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.493, allocations: 1.699 MB / 1.412 GB, free: 8.766 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006104/0.4991, allocations: 4.08 MB / 1.416 GB, free: 4.68 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.5011, allocations: 1.153 MB / 1.417 GB, free: 3.488 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004766/0.5058, allocations: 2.002 MB / 1.419 GB, free: 1.48 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.5083, allocations: 1.214 MB / 1.42 GB, free: 268 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003378/0.5086, allocations: 176 kB / 1.421 GB, free: 92 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.5114, allocations: 1.174 MB / 1.422 GB, free: 14.91 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.5118, allocations: 402.4 kB / 1.422 GB, free: 14.52 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.5128, allocations: 0.7116 MB / 1.423 GB, free: 13.8 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004688/0.5175, allocations: 3.111 MB / 1.426 GB, free: 10.68 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5175, allocations: 0 / 1.426 GB, free: 10.68 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5175, allocations: 0 / 1.426 GB, free: 10.68 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.44e-05/0.5176, allocations: 0 / 1.426 GB, free: 10.68 MB / 1.123 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.003949/0.5215, allocations: 2.008 MB / 1.428 GB, free: 8.629 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5216, allocations: 12.03 kB / 1.428 GB, free: 8.617 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/0.5218, allocations: 156.5 kB / 1.428 GB, free: 8.457 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/0.5242, allocations: 459.1 kB / 1.428 GB, free: 8.008 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.5275, allocations: 1.519 MB / 1.43 GB, free: 6.438 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.281e-05/0.5275, allocations: 86.03 kB / 1.43 GB, free: 6.352 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.5277, allocations: 100 kB / 1.43 GB, free: 6.254 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.5307, allocations: 1.42 MB / 1.431 GB, free: 4.703 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.5307, allocations: 7.922 kB / 1.431 GB, free: 4.695 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.5308, allocations: 44 kB / 1.432 GB, free: 4.652 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.5308, allocations: 24 kB / 1.432 GB, free: 4.629 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.5337, allocations: 1.097 MB / 1.433 GB, free: 3.527 MB / 1.123 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.009374/0.5431, allocations: 5.624 MB / 1.438 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.5463, allocations: 0.7718 MB / 1.439 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/0.547, allocations: 269.9 kB / 1.439 GB, free: 12.7 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.5476, allocations: 160.3 kB / 1.439 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.5476, allocations: 42.94 kB / 1.439 GB, free: 12.49 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.444e-06/0.5476, allocations: 0 / 1.439 GB, free: 12.49 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005158/0.5528, allocations: 1.264 MB / 1.441 GB, free: 11.21 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.5529, allocations: 55.84 kB / 1.441 GB, free: 11.15 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.5556, allocations: 1.565 MB / 1.442 GB, free: 9.574 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.5557, allocations: 37.7 kB / 1.442 GB, free: 9.531 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006926/0.5564, allocations: 0.6819 MB / 1.443 GB, free: 8.844 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.5566, allocations: 182.5 kB / 1.443 GB, free: 8.664 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.5569, allocations: 166.5 kB / 1.443 GB, free: 8.496 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5571, allocations: 337.9 kB / 1.443 GB, free: 8.16 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.5581, allocations: 369.8 kB / 1.444 GB, free: 7.797 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.5597, allocations: 0.9955 MB / 1.445 GB, free: 6.598 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.5617, allocations: 0.8935 MB / 1.446 GB, free: 5.598 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.5618, allocations: 0 / 1.446 GB, free: 5.598 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003275/0.565, allocations: 1.197 MB / 1.447 GB, free: 4.391 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.5651, allocations: 12.03 kB / 1.447 GB, free: 4.379 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.5651, allocations: 8 kB / 1.447 GB, free: 4.371 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/0.5661, allocations: 220.6 kB / 1.447 GB, free: 4.152 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008346/0.5669, allocations: 191.7 kB / 1.447 GB, free: 3.965 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.5679, allocations: 0.724 MB / 1.448 GB, free: 3.215 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.5697, allocations: 215 kB / 1.448 GB, free: 3.004 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.5698, allocations: 39.98 kB / 1.448 GB, free: 2.965 MB / 1.139 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.0007059/0.5705, allocations: 353.6 kB / 1.449 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.5708, allocations: 159 kB / 1.449 GB, free: 2.453 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.5734, allocations: 1.149 MB / 1.45 GB, free: 1.285 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/0.5735, allocations: 11.98 kB / 1.45 GB, free: 1.273 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5735, allocations: 96 / 1.45 GB, free: 1.273 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.5735, allocations: 7.922 kB / 1.45 GB, free: 1.266 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005772/0.5793, allocations: 2.315 MB / 1.452 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.5793, allocations: 0 / 1.452 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.5797, allocations: 75.89 kB / 1.452 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008217/0.5805, allocations: 216.8 kB / 1.452 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.5805, allocations: 15.98 kB / 1.452 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.5819, allocations: 0.7708 MB / 1.453 GB, free: 13.77 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5819, allocations: 12.03 kB / 1.453 GB, free: 13.76 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/0.5857, allocations: 1.226 MB / 1.454 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008418/0.5865, allocations: 282.6 kB / 1.455 GB, free: 12.22 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.5868, allocations: 12 kB / 1.455 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009244/0.5877, allocations: 67.92 kB / 1.455 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.5878, allocations: 40.42 kB / 1.455 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/0.5879, allocations: 23.98 kB / 1.455 GB, free: 12.08 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001947/0.5898, allocations: 1.09 MB / 1.456 GB, free: 10.99 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5898, allocations: 0 / 1.456 GB, free: 10.99 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001414/0.5912, allocations: 455.1 kB / 1.456 GB, free: 10.55 MB / 1.154 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.004712/0.5959, allocations: 2.122 MB / 1.458 GB, free: 8.379 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.5982, allocations: 0.8321 MB / 1.459 GB, free: 7.547 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5982, allocations: 0 / 1.459 GB, free: 7.547 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.5995, allocations: 423.8 kB / 1.46 GB, free: 7.133 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.603, allocations: 0.7437 MB / 1.46 GB, free: 6.402 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/0.6222, allocations: 10.52 MB / 1.471 GB, free: 11.49 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.6229, allocations: 0.5838 MB / 1.471 GB, free: 10.88 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001066/0.6239, allocations: 274 kB / 1.471 GB, free: 10.61 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008228/0.6247, allocations: 0.55 MB / 1.472 GB, free: 10.06 MB / 1.17 GB Notification: Performance of SimCode: time 7.42e-07/0.6247, allocations: 0 / 1.472 GB, free: 10.06 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1421/0.7668, allocations: 47.27 MB / 1.518 GB, free: 11.62 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.2, allocations: 10.75 kB / 1.518 GB, free: 11.61 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.17682225399767] Failed to read output from testmodel.py, exit status != 0: 15.343317950988421 15.359518809999999 14.838556852 Calling exit ...