Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0006977/0.0006977, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008124/0.0008124, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9022/0.9022, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.453e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.5503/0.5503, allocations: 64.62 MB / 1.063 GB, free: 54.15 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.5644, allocations: 17.5 MB / 1.08 GB, free: 43.69 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.5666, allocations: 96.34 kB / 1.08 GB, free: 43.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.5689, allocations: 0.8362 MB / 1.081 GB, free: 43.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.008334/0.5772, allocations: 3.094 MB / 1.084 GB, free: 41.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.581, allocations: 1.747 MB / 1.085 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004842/0.5859, allocations: 4.027 MB / 1.089 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.5876, allocations: 1.101 MB / 1.09 GB, free: 37.53 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004406/0.592, allocations: 2.537 MB / 1.093 GB, free: 36.24 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.5936, allocations: 1.006 MB / 1.094 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.5938, allocations: 174.6 kB / 1.094 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.5961, allocations: 1.167 MB / 1.095 GB, free: 35.53 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.5964, allocations: 413.4 kB / 1.096 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006714/0.5971, allocations: 0.6027 MB / 1.096 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004816/0.6019, allocations: 3.141 MB / 1.099 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.6019, allocations: 4 kB / 1.099 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6019, allocations: 0 / 1.099 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.808e-05/0.602, allocations: 1.438 kB / 1.099 GB, free: 33.81 MB / 0.9948 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.003973/0.606, allocations: 1.99 MB / 1.101 GB, free: 32.49 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.606, allocations: 11.08 kB / 1.101 GB, free: 32.49 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.6062, allocations: 159 kB / 1.101 GB, free: 32.39 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.6077, allocations: 461.1 kB / 1.102 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.6104, allocations: 1.51 MB / 1.103 GB, free: 31.35 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.531e-05/0.6105, allocations: 82.75 kB / 1.103 GB, free: 31.31 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.6107, allocations: 102.2 kB / 1.104 GB, free: 31.28 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.6128, allocations: 1.415 MB / 1.105 GB, free: 30.46 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.6128, allocations: 6.25 kB / 1.105 GB, free: 30.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.6129, allocations: 42.38 kB / 1.105 GB, free: 30.42 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.6129, allocations: 26.38 kB / 1.105 GB, free: 30.42 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.615, allocations: 1.1 MB / 1.106 GB, free: 30.02 MB / 0.9948 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.007467/0.6224, allocations: 5.604 MB / 1.112 GB, free: 26.05 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.6245, allocations: 0.7675 MB / 1.112 GB, free: 25.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.625, allocations: 265.6 kB / 1.113 GB, free: 25.71 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004181/0.6254, allocations: 159.2 kB / 1.113 GB, free: 25.67 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.6254, allocations: 39.11 kB / 1.113 GB, free: 25.63 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=48): time 4.018e-06/0.6254, allocations: 4 kB / 1.113 GB, free: 25.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48): time 0.003287/0.6287, allocations: 1.266 MB / 1.114 GB, free: 25.21 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.6287, allocations: 57.31 kB / 1.114 GB, free: 25.15 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.631, allocations: 1.562 MB / 1.116 GB, free: 24.52 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/0.631, allocations: 36.86 kB / 1.116 GB, free: 24.48 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/0.6315, allocations: 0.6828 MB / 1.116 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.6316, allocations: 179 kB / 1.116 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.6319, allocations: 167.6 kB / 1.117 GB, free: 23.71 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.6319, allocations: 332.9 kB / 1.117 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.6326, allocations: 368.7 kB / 1.117 GB, free: 23.27 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.6334, allocations: 0.9913 MB / 1.118 GB, free: 22.38 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.6346, allocations: 0.8888 MB / 1.119 GB, free: 21.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.6346, allocations: 2.531 kB / 1.119 GB, free: 21.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002337/0.6369, allocations: 1.196 MB / 1.12 GB, free: 21.32 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.637, allocations: 15.27 kB / 1.12 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.637, allocations: 7.281 kB / 1.12 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006863/0.6377, allocations: 218.2 kB / 1.12 GB, free: 21.26 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.6381, allocations: 201.9 kB / 1.121 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005277/0.6387, allocations: 0.7183 MB / 1.121 GB, free: 20.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.6398, allocations: 210.6 kB / 1.122 GB, free: 20.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/0.6399, allocations: 46.39 kB / 1.122 GB, free: 20.54 MB / 0.9948 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.0005604/0.6405, allocations: 362 kB / 1.122 GB, free: 20.28 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.6407, allocations: 154.6 kB / 1.122 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.6424, allocations: 1.161 MB / 1.123 GB, free: 19.74 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.6424, allocations: 13.17 kB / 1.123 GB, free: 19.74 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6424, allocations: 0 / 1.123 GB, free: 19.74 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.6424, allocations: 3.797 kB / 1.123 GB, free: 19.74 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.6461, allocations: 2.292 MB / 1.125 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.6461, allocations: 1.688 kB / 1.125 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.6463, allocations: 85.41 kB / 1.126 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005801/0.6469, allocations: 210.1 kB / 1.126 GB, free: 18.59 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.6469, allocations: 17.77 kB / 1.126 GB, free: 18.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007158/0.6476, allocations: 0.7713 MB / 1.127 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6476, allocations: 5.438 kB / 1.127 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.6498, allocations: 1.222 MB / 1.128 GB, free: 17.42 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006429/0.6505, allocations: 280.5 kB / 1.128 GB, free: 17.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.6507, allocations: 17.31 kB / 1.128 GB, free: 17.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.6512, allocations: 70.5 kB / 1.128 GB, free: 17.21 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.6513, allocations: 44.61 kB / 1.128 GB, free: 17.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.6513, allocations: 29.44 kB / 1.128 GB, free: 17.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001976/0.6533, allocations: 1.083 MB / 1.129 GB, free: 16.77 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6533, allocations: 0 / 1.129 GB, free: 16.77 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001555/0.6549, allocations: 448.7 kB / 1.13 GB, free: 16.67 MB / 0.9948 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.003283/0.6581, allocations: 2.133 MB / 1.132 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.6598, allocations: 0.8286 MB / 1.133 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6598, allocations: 1.812 kB / 1.133 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000748/0.6605, allocations: 427.7 kB / 1.133 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.6632, allocations: 0.7074 MB / 1.134 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.6791, allocations: 10.53 MB / 1.144 GB, free: 9.523 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.6798, allocations: 0.5837 MB / 1.144 GB, free: 9.363 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001153/0.681, allocations: 269.5 kB / 1.145 GB, free: 9.285 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.6815, allocations: 0.5439 MB / 1.145 GB, free: 8.875 MB / 0.9948 GB Notification: Performance of SimCode: time 1.542e-06/0.6815, allocations: 0 / 1.145 GB, free: 8.875 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0705/0.752, allocations: 46.64 MB / 1.191 GB, free: 13.61 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.766/9.518, allocations: 11.8 kB / 1.191 GB, free: 13.59 MB / 1.026 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.141810840927064] Failed to read output from testmodel.py, exit status != 0: 9.630032751709223 9.638132918 9.034292074 Calling exit ...