Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001778/0.001778, allocations: 110.4 kB / 16.46 MB, free: 6.504 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.002019/0.002019, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.476/1.476, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.562/2.562, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 68.08 kB / 1.056 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7897, allocations: 160.7 MB / 1.213 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.00292/0.7926, allocations: 1.705 MB / 1.215 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.9694, allocations: 148.9 MB / 1.36 GB, free: 1.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.9695, allocations: 0 / 1.36 GB, free: 1.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.9697, allocations: 47.69 kB / 1.36 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.971, allocations: 446 kB / 1.36 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.9712, allocations: 67.84 kB / 1.361 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.9714, allocations: 143.3 kB / 1.361 GB, free: 388 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.932e-05/0.9715, allocations: 9.391 kB / 1.361 GB, free: 376 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.9715, allocations: 55.83 kB / 1.361 GB, free: 320 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.9717, allocations: 75.67 kB / 1.361 GB, free: 244 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.9717, allocations: 8 kB / 1.361 GB, free: 236 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.9728, allocations: 0.5302 MB / 1.361 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.9728, allocations: 19.92 kB / 1.361 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.391e-05/0.9729, allocations: 55.73 kB / 1.361 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.9735, allocations: 368.7 kB / 1.362 GB, free: 15.27 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.9735, allocations: 12 kB / 1.362 GB, free: 15.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9735, allocations: 0 / 1.362 GB, free: 15.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.9735, allocations: 0 / 1.362 GB, free: 15.25 MB / 1.076 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.0008242/0.9743, allocations: 490.1 kB / 1.362 GB, free: 14.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.9744, allocations: 8.922 kB / 1.362 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.211e-05/0.9744, allocations: 106 kB / 1.362 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.9757, allocations: 176 kB / 1.362 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.9761, allocations: 320 kB / 1.363 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.76e-05/0.9762, allocations: 150.6 kB / 1.363 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.9763, allocations: 158.6 kB / 1.363 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.036e-05/0.9764, allocations: 104.9 kB / 1.363 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.9764, allocations: 75.28 kB / 1.363 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/0.9765, allocations: 150.6 kB / 1.363 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/0.9765, allocations: 154.5 kB / 1.364 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.686e-05/0.9766, allocations: 158.6 kB / 1.364 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.9771, allocations: 0.5095 MB / 1.364 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.9772, allocations: 173.1 kB / 1.364 GB, free: 12.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.9773, allocations: 80.14 kB / 1.364 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/0.9773, allocations: 75.28 kB / 1.365 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.9774, allocations: 113.8 kB / 1.365 GB, free: 12.12 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.9774, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0003389/0.9777, allocations: 57.59 kB / 1.365 GB, free: 12.06 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.9778, allocations: 134.6 kB / 1.365 GB, free: 11.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.9782, allocations: 223.7 kB / 1.365 GB, free: 11.69 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.9782, allocations: 25.7 kB / 1.365 GB, free: 11.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.9783, allocations: 104.1 kB / 1.365 GB, free: 11.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.9783, allocations: 0 / 1.365 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.9784, allocations: 29.7 kB / 1.365 GB, free: 11.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.9785, allocations: 318.8 kB / 1.365 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-05/0.9786, allocations: 28.84 kB / 1.366 GB, free: 11.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.9787, allocations: 12 kB / 1.366 GB, free: 11.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.9787, allocations: 32.84 kB / 1.366 GB, free: 11.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9787, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007108/0.9794, allocations: 142.5 kB / 1.366 GB, free: 10.97 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9795, allocations: 4 kB / 1.366 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9795, allocations: 0 / 1.366 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008322/0.9803, allocations: 148.6 kB / 1.366 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.866e-05/0.9804, allocations: 7.984 kB / 1.366 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.9827, allocations: 1.608 MB / 1.367 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.9829, allocations: 8.016 kB / 1.367 GB, free: 9.055 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.9829, allocations: 11.94 kB / 1.367 GB, free: 9.043 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001059/0.983, allocations: 100.1 kB / 1.368 GB, free: 8.941 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.018e-05/0.983, allocations: 12 kB / 1.368 GB, free: 8.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.044e-05/0.9831, allocations: 24.86 kB / 1.368 GB, free: 8.902 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.9831, allocations: 3.938 kB / 1.368 GB, free: 8.898 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002479/0.9833, allocations: 110.3 kB / 1.368 GB, free: 8.781 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.9833, allocations: 8 kB / 1.368 GB, free: 8.773 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.9833, allocations: 4.25 kB / 1.368 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/0.9838, allocations: 108.9 kB / 1.368 GB, free: 8.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-05/0.9838, allocations: 15.97 kB / 1.368 GB, free: 8.645 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.9852, allocations: 1.461 MB / 1.369 GB, free: 7.035 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.9853, allocations: 3.938 kB / 1.369 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.9853, allocations: 4.031 kB / 1.369 GB, free: 7.027 MB / 1.076 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.0001419/0.9855, allocations: 255.6 kB / 1.369 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/0.9856, allocations: 124.8 kB / 1.37 GB, free: 6.641 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.767e-05/0.9856, allocations: 117.2 kB / 1.37 GB, free: 6.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.584e-05/0.9857, allocations: 180.3 kB / 1.37 GB, free: 6.336 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-05/0.9858, allocations: 184.2 kB / 1.37 GB, free: 6.148 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.488e-05/0.9859, allocations: 176.3 kB / 1.37 GB, free: 5.969 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.9862, allocations: 461.1 kB / 1.371 GB, free: 5.461 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.426e-05/0.9863, allocations: 104.9 kB / 1.371 GB, free: 5.352 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.9863, allocations: 101 kB / 1.371 GB, free: 5.246 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-05/0.9864, allocations: 184.1 kB / 1.371 GB, free: 5.059 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/0.9865, allocations: 180.3 kB / 1.371 GB, free: 4.875 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-05/0.9866, allocations: 180.3 kB / 1.371 GB, free: 4.691 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.252e-05/0.9867, allocations: 184.2 kB / 1.372 GB, free: 4.504 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.9869, allocations: 315.7 kB / 1.372 GB, free: 4.172 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.9871, allocations: 202 kB / 1.372 GB, free: 3.949 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.9872, allocations: 188.2 kB / 1.372 GB, free: 3.758 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.9874, allocations: 109.1 kB / 1.372 GB, free: 3.645 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/0.9875, allocations: 180.2 kB / 1.373 GB, free: 3.461 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.9875, allocations: 104.9 kB / 1.373 GB, free: 3.352 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002252/0.9877, allocations: 165.2 kB / 1.373 GB, free: 3.191 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9877, allocations: 0 / 1.373 GB, free: 3.191 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004425/0.9882, allocations: 67.94 kB / 1.373 GB, free: 3.125 MB / 1.076 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.0006928/0.9889, allocations: 0.8476 MB / 1.374 GB, free: 2.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006087/0.9895, allocations: 305.3 kB / 1.374 GB, free: 1.926 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.9895, allocations: 0 / 1.374 GB, free: 1.926 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.9895, allocations: 0 / 1.374 GB, free: 1.926 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.9901, allocations: 486.4 kB / 1.374 GB, free: 1.449 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.9936, allocations: 2.066 MB / 1.376 GB, free: 15.29 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.994, allocations: 0.6928 MB / 1.377 GB, free: 14.57 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.9941, allocations: 16.55 kB / 1.377 GB, free: 14.56 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.9942, allocations: 27.42 kB / 1.377 GB, free: 14.54 MB / 1.092 GB Notification: Performance of SimCode: time 1.052e-06/0.9942, allocations: 0 / 1.377 GB, free: 14.54 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/1.03, allocations: 4.763 MB / 1.382 GB, free: 9.953 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.72, allocations: 20.48 kB / 1.382 GB, free: 9.938 MB / 1.092 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.527243172749877] Failed to read output from testmodel.py, exit status != 0: 13.817299689166248 13.84463211 12.866159919 Calling exit ...