Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 108.3 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 191.7 kB / 19.36 MB, free: 3.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 489 MB / 0.7678 GB, free: 0 / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 59.91 kB / 1.101 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7793, allocations: 163.8 MB / 1.261 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003216/0.7825, allocations: 1.686 MB / 1.263 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1791/0.9616, allocations: 148.4 MB / 1.408 GB, free: 436 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.9618, allocations: 4 kB / 1.408 GB, free: 432 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.9621, allocations: 47.69 kB / 1.408 GB, free: 384 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.9635, allocations: 434 kB / 1.408 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.9638, allocations: 75.73 kB / 1.408 GB, free: 15.88 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.9641, allocations: 143.4 kB / 1.408 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.908e-05/0.9641, allocations: 13.38 kB / 1.408 GB, free: 15.72 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.9642, allocations: 51.78 kB / 1.408 GB, free: 15.67 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.9644, allocations: 67.75 kB / 1.408 GB, free: 15.6 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.9645, allocations: 12 kB / 1.408 GB, free: 15.59 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.9656, allocations: 0.4989 MB / 1.409 GB, free: 15.09 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.9657, allocations: 19.92 kB / 1.409 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.9658, allocations: 67.7 kB / 1.409 GB, free: 15 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0008388/0.9666, allocations: 381.5 kB / 1.409 GB, free: 14.64 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9666, allocations: 0 / 1.409 GB, free: 14.64 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9666, allocations: 0 / 1.409 GB, free: 14.64 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.9667, allocations: 0 / 1.409 GB, free: 14.64 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008546/0.9675, allocations: 486.2 kB / 1.41 GB, free: 14.11 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.9676, allocations: 12.03 kB / 1.41 GB, free: 14.1 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.9676, allocations: 106 kB / 1.41 GB, free: 13.99 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.9689, allocations: 180 kB / 1.41 GB, free: 13.81 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.9693, allocations: 324 kB / 1.41 GB, free: 13.46 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.9694, allocations: 154.6 kB / 1.411 GB, free: 13.3 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/0.9695, allocations: 150.6 kB / 1.411 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.9696, allocations: 105 kB / 1.411 GB, free: 13.05 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.9697, allocations: 75.28 kB / 1.411 GB, free: 12.97 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.9697, allocations: 150.6 kB / 1.411 GB, free: 12.82 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.491e-05/0.9698, allocations: 154.6 kB / 1.411 GB, free: 12.67 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/0.9699, allocations: 158.5 kB / 1.411 GB, free: 12.52 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.9704, allocations: 0.5056 MB / 1.412 GB, free: 11.96 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.9705, allocations: 169.1 kB / 1.412 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.9706, allocations: 84.14 kB / 1.412 GB, free: 11.7 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.9706, allocations: 79.28 kB / 1.412 GB, free: 11.62 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/0.9707, allocations: 105.8 kB / 1.412 GB, free: 11.51 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.874e-06/0.9707, allocations: 0 / 1.412 GB, free: 11.51 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 0.000353/0.9711, allocations: 69.52 kB / 1.412 GB, free: 11.43 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.9711, allocations: 126.7 kB / 1.412 GB, free: 11.3 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.9715, allocations: 223.6 kB / 1.413 GB, free: 11.07 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.9716, allocations: 25.7 kB / 1.413 GB, free: 11.04 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.9717, allocations: 112.1 kB / 1.413 GB, free: 10.93 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.9717, allocations: 0 / 1.413 GB, free: 10.93 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.9717, allocations: 17.72 kB / 1.413 GB, free: 10.9 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.9719, allocations: 326.8 kB / 1.413 GB, free: 10.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/0.972, allocations: 20.86 kB / 1.413 GB, free: 10.55 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.972, allocations: 19.98 kB / 1.413 GB, free: 10.53 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.661e-05/0.9721, allocations: 24.86 kB / 1.413 GB, free: 10.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9721, allocations: 3.938 kB / 1.413 GB, free: 10.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006491/0.9728, allocations: 146.3 kB / 1.413 GB, free: 10.35 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9728, allocations: 10.19 kB / 1.413 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9728, allocations: 0 / 1.413 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008107/0.9736, allocations: 140.7 kB / 1.414 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.359e-05/0.9737, allocations: 7.984 kB / 1.414 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.9762, allocations: 1.613 MB / 1.415 GB, free: 8.438 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.9763, allocations: 15.94 kB / 1.415 GB, free: 8.422 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.9764, allocations: 0 / 1.415 GB, free: 8.422 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001031/0.9765, allocations: 100.1 kB / 1.415 GB, free: 8.32 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.587e-05/0.9765, allocations: 15.98 kB / 1.415 GB, free: 8.305 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.656e-05/0.9766, allocations: 24.86 kB / 1.415 GB, free: 8.277 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.9766, allocations: 0 / 1.415 GB, free: 8.277 MB / 1.123 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002679/0.9769, allocations: 106.4 kB / 1.415 GB, free: 8.164 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.9769, allocations: 8 kB / 1.415 GB, free: 8.156 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.9769, allocations: 4 kB / 1.415 GB, free: 8.152 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/0.9773, allocations: 108.7 kB / 1.415 GB, free: 8.043 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.9774, allocations: 8 kB / 1.415 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.9788, allocations: 1.461 MB / 1.417 GB, free: 6.426 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.979, allocations: 3.938 kB / 1.417 GB, free: 6.422 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.979, allocations: 4.219 kB / 1.417 GB, free: 6.418 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.9792, allocations: 263.6 kB / 1.417 GB, free: 6.152 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.9793, allocations: 120.8 kB / 1.417 GB, free: 6.027 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/0.9794, allocations: 113.5 kB / 1.417 GB, free: 5.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.303e-05/0.9795, allocations: 188.2 kB / 1.418 GB, free: 5.719 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.367e-05/0.9796, allocations: 184.1 kB / 1.418 GB, free: 5.531 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.731e-05/0.9797, allocations: 180.3 kB / 1.418 GB, free: 5.348 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.98, allocations: 445.1 kB / 1.418 GB, free: 4.855 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.781e-05/0.9801, allocations: 105 kB / 1.418 GB, free: 4.746 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.9801, allocations: 101 kB / 1.419 GB, free: 4.641 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.063e-05/0.9802, allocations: 188.1 kB / 1.419 GB, free: 4.449 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/0.9803, allocations: 180.2 kB / 1.419 GB, free: 4.266 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.079e-05/0.9804, allocations: 188.2 kB / 1.419 GB, free: 4.074 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001438/0.9805, allocations: 180.3 kB / 1.419 GB, free: 3.891 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.9807, allocations: 315.7 kB / 1.42 GB, free: 3.559 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.9809, allocations: 202 kB / 1.42 GB, free: 3.336 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.981, allocations: 188.1 kB / 1.42 GB, free: 3.145 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.9812, allocations: 105 kB / 1.42 GB, free: 3.035 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.9813, allocations: 184.2 kB / 1.42 GB, free: 2.848 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.9814, allocations: 101 kB / 1.42 GB, free: 2.742 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002326/0.9816, allocations: 160.1 kB / 1.42 GB, free: 2.586 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9816, allocations: 4 kB / 1.42 GB, free: 2.582 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004593/0.9821, allocations: 71.92 kB / 1.42 GB, free: 2.512 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007048/0.9828, allocations: 0.8553 MB / 1.421 GB, free: 1.629 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000614/0.9834, allocations: 293.3 kB / 1.422 GB, free: 1.316 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.9834, allocations: 0 / 1.422 GB, free: 1.316 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.9834, allocations: 4 kB / 1.422 GB, free: 1.312 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.984, allocations: 487.6 kB / 1.422 GB, free: 0.832 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.9874, allocations: 2.061 MB / 1.424 GB, free: 14.68 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.9879, allocations: 0.6967 MB / 1.425 GB, free: 13.96 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.988, allocations: 20.55 kB / 1.425 GB, free: 13.94 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.9881, allocations: 27.42 kB / 1.425 GB, free: 13.91 MB / 1.139 GB Notification: Performance of SimCode: time 9.01e-07/0.9881, allocations: 4 kB / 1.425 GB, free: 13.91 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/1.02, allocations: 4.746 MB / 1.429 GB, free: 9.363 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.58, allocations: 6.25 kB / 1.429 GB, free: 9.363 MB / 1.139 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.77642144705169] Failed to read output from testmodel.py, exit status != 0: 13.674714454915375 13.700721964 12.729567403 Calling exit ...