Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00128/0.00128, allocations: 101.9 kB / 19.73 MB, free: 1.965 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.001416/0.001416, allocations: 212.6 kB / 23.03 MB, free: 4.438 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_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.00205/0.00205, allocations: 67.5 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3074, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00378/0.3111, allocations: 2.168 MB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3126, allocations: 0.8699 MB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.233e-05/0.3127, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005504/0.3132, allocations: 174.9 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.3133, allocations: 75.44 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.3137, allocations: 115.7 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.314, allocations: 227 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.3142, allocations: 72.17 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3143, allocations: 87.58 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.3144, allocations: 107.4 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.3144, allocations: 20 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.3147, allocations: 155.8 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.3149, allocations: 207.4 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.3151, allocations: 194.5 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008265/0.3159, allocations: 0.7359 MB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3159, allocations: 0 / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3159, allocations: 0 / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.316, allocations: 0 / 1.289 GB, free: 5.43 MB / 0.9825 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.001306/0.3173, allocations: 0.9265 MB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3173, allocations: 12.03 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.614e-05/0.3173, allocations: 4.188 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.3174, allocations: 50.67 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005591/0.3179, allocations: 120.3 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007899/0.3187, allocations: 0.5416 MB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3187, allocations: 8.375 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.3188, allocations: 12.38 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.3192, allocations: 199.1 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3192, allocations: 4 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.3192, allocations: 8 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3192, allocations: 0 / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.3197, allocations: 231.8 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3209, allocations: 0.8156 MB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.3216, allocations: 318.5 kB / 1.292 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.3218, allocations: 100.8 kB / 1.292 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000701/0.3225, allocations: 159.9 kB / 1.293 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3225, allocations: 30.56 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.3225, allocations: 0 / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008536/0.3234, allocations: 413 kB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.3234, allocations: 51.41 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.3247, allocations: 0.9974 MB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.3248, allocations: 29.7 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/0.3251, allocations: 348.2 kB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.3252, allocations: 31.7 kB / 1.294 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.3252, allocations: 25.7 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3254, allocations: 310 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.3256, allocations: 100.3 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.3258, allocations: 122.5 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.3262, allocations: 222.4 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3262, allocations: 0 / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005557/0.3268, allocations: 332.9 kB / 1.295 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3268, allocations: 4 kB / 1.295 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3268, allocations: 0 / 1.295 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3268, allocations: 0 / 1.295 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.327, allocations: 23.98 kB / 1.295 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.327, allocations: 4.047 kB / 1.295 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3272, allocations: 19.98 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.3272, allocations: 4 kB / 1.296 GB, free: 14.69 MB / 0.9981 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.000273/0.3274, allocations: 249.6 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3275, allocations: 79.47 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.3282, allocations: 324.5 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3282, allocations: 0 / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3282, allocations: 0 / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3282, allocations: 4 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.3288, allocations: 472.1 kB / 1.297 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3288, allocations: 0 / 1.297 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.329, allocations: 19.98 kB / 1.297 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.329, allocations: 0 / 1.297 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.329, allocations: 7.984 kB / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.329, allocations: 4 kB / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.329, allocations: 192 / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.3296, allocations: 418.8 kB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.3297, allocations: 99.5 kB / 1.297 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.3298, allocations: 7.984 kB / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.33, allocations: 4 kB / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.33, allocations: 7.984 kB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.33, allocations: 0 / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009024/0.3309, allocations: 0.7254 MB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3309, allocations: 7.938 kB / 1.298 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000361/0.3313, allocations: 67.89 kB / 1.298 GB, free: 12.16 MB / 0.9981 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.001005/0.3323, allocations: 0.9539 MB / 1.299 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005076/0.3328, allocations: 211.8 kB / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3328, allocations: 0 / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.333, allocations: 107.9 kB / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3334, allocations: 54.23 kB / 1.299 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008502/0.3419, allocations: 6.396 MB / 1.305 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.3423, allocations: 345.4 kB / 1.306 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.3426, allocations: 77.33 kB / 1.306 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.3429, allocations: 215.4 kB / 1.306 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/0.3429, allocations: 0 / 1.306 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.3789, allocations: 12.21 MB / 1.318 GB, free: 7.727 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.83, allocations: 9.828 kB / 1.318 GB, free: 7.723 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.474239083006978] Failed to read output from testmodel.py, exit status != 0: 13.47240185609553 13.021303007 12.702256474 Calling exit ...