Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001674/0.001674, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001457/0.001457, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.191/3.191, allocations: 0.5003 GB / 0.8062 GB, free: 28.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="cs",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.00197/0.00197, allocations: 66.47 kB / 1.171 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3416, allocations: 179 MB / 1.345 GB, free: 132 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004222/0.3459, allocations: 2.177 MB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3478, allocations: 0.8622 MB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.348, allocations: 3.938 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006843/0.3487, allocations: 170.9 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.3489, allocations: 75.44 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.3494, allocations: 119.7 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.3498, allocations: 215.2 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.35, allocations: 73.89 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.3502, allocations: 91.53 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.3503, allocations: 95.44 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.3504, allocations: 20 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.3508, allocations: 151.8 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.351, allocations: 215.3 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.3513, allocations: 190.5 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009493/0.3522, allocations: 0.727 MB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3522, allocations: 4 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3522, allocations: 0 / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.3522, allocations: 4 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00155/0.3538, allocations: 0.9265 MB / 1.351 GB, free: 9.973 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3538, allocations: 8.031 kB / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.88e-05/0.3538, allocations: 4.188 kB / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.185e-05/0.3539, allocations: 42.75 kB / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.3545, allocations: 128.3 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.3555, allocations: 0.5416 MB / 1.352 GB, free: 9.219 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3556, allocations: 8.375 kB / 1.352 GB, free: 9.211 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.3556, allocations: 12.38 kB / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.3561, allocations: 197.9 kB / 1.352 GB, free: 9 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3561, allocations: 7.984 kB / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.3561, allocations: 11.98 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3561, allocations: 4 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.3566, allocations: 215.9 kB / 1.352 GB, free: 8.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.358, allocations: 0.8155 MB / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.3587, allocations: 314.4 kB / 1.353 GB, free: 7.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.3589, allocations: 104.9 kB / 1.354 GB, free: 7.484 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.3596, allocations: 159.8 kB / 1.354 GB, free: 7.328 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3597, allocations: 34.56 kB / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.3597, allocations: 0 / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0009331/0.3606, allocations: 409.2 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3606, allocations: 51.5 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.3621, allocations: 1.001 MB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.3621, allocations: 29.7 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.3625, allocations: 348.1 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.3625, allocations: 27.75 kB / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/0.3626, allocations: 25.7 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3628, allocations: 310 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.363, allocations: 103.9 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.3632, allocations: 118.5 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.3637, allocations: 222.4 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3637, allocations: 0 / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006695/0.3643, allocations: 324.9 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3644, allocations: 8.062 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3644, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3644, allocations: 7.984 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.3646, allocations: 19.98 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.3646, allocations: 4 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3648, allocations: 11.92 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3648, allocations: 8 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.000308/0.3651, allocations: 253.6 kB / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3652, allocations: 75.48 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.3659, allocations: 328.5 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3659, allocations: 96 / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3659, allocations: 11.94 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.366, allocations: 3.938 kB / 1.357 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.3666, allocations: 456.4 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3666, allocations: 4 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.3667, allocations: 15.98 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3667, allocations: 8 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3667, allocations: 3.984 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3668, allocations: 0 / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3668, allocations: 0 / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.3674, allocations: 414.8 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.3676, allocations: 107.4 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.3677, allocations: 4 kB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3679, allocations: 11.98 kB / 1.358 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.3679, allocations: 7.984 kB / 1.358 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3679, allocations: 4 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001082/0.369, allocations: 0.7176 MB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.369, allocations: 0 / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004277/0.3695, allocations: 71.89 kB / 1.359 GB, free: 1.684 MB / 1.045 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 (9): * Single equations (assignments): 9 * 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.001205/0.3707, allocations: 0.9501 MB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005204/0.3712, allocations: 212.1 kB / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3712, allocations: 8.125 kB / 1.36 GB, free: 500 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.3714, allocations: 103.9 kB / 1.36 GB, free: 396 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.3719, allocations: 52.45 kB / 1.36 GB, free: 344 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009809/0.3817, allocations: 6.385 MB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.3821, allocations: 350.6 kB / 1.367 GB, free: 9.484 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002467/0.3824, allocations: 73.33 kB / 1.367 GB, free: 9.414 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.3827, allocations: 215.4 kB / 1.367 GB, free: 9.203 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/0.3827, allocations: 8 kB / 1.367 GB, free: 9.195 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.4247, allocations: 12.2 MB / 1.379 GB, free: 13.24 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.23, allocations: 13.34 kB / 1.379 GB, free: 13.23 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.01614616299048] Failed to read output from testmodel.py, exit status != 0: 13.3946474599652 13.41281119 13.05695174 Calling exit ...