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.001264/0.001264, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001441/0.001441, allocations: 218.3 kB / 23.04 MB, free: 5.078 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.732/2.732, allocations: 476.7 MB / 0.7715 GB, free: 4.27 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.00192/0.00192, allocations: 61.73 kB / 1.118 GB, free: 39.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.281, allocations: 170 MB / 1.284 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003902/0.2849, allocations: 2.302 MB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.2865, allocations: 0.9672 MB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.2866, allocations: 4 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.2871, allocations: 190.7 kB / 1.288 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.2873, allocations: 75.44 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.2877, allocations: 107.7 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.288, allocations: 219.1 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.2882, allocations: 85.91 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.2883, allocations: 91.58 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.2885, allocations: 99.44 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.2885, allocations: 16 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.2889, allocations: 155.8 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.2891, allocations: 219.3 kB / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.2893, allocations: 266.1 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008607/0.2902, allocations: 0.7232 MB / 1.29 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2902, allocations: 0 / 1.29 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2902, allocations: 0 / 1.29 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.2902, allocations: 0 / 1.29 GB, free: 6.129 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.001394/0.2916, allocations: 0.9265 MB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2917, allocations: 12.02 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.752e-05/0.2917, allocations: 4.188 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.2917, allocations: 46.69 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005488/0.2923, allocations: 128.3 kB / 1.291 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.2931, allocations: 0.5339 MB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2931, allocations: 8.375 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.2931, allocations: 12.38 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.2935, allocations: 199.1 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2936, allocations: 7.938 kB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.2936, allocations: 4 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2936, allocations: 4 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.2941, allocations: 223.9 kB / 1.292 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2954, allocations: 0.8896 MB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000695/0.2961, allocations: 318.3 kB / 1.293 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.2963, allocations: 101 kB / 1.293 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007134/0.297, allocations: 171.8 kB / 1.293 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.297, allocations: 30.56 kB / 1.293 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.297, allocations: 4 kB / 1.293 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008894/0.2979, allocations: 409 kB / 1.293 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.298, allocations: 51.41 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.2992, allocations: 0.9974 MB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.2993, allocations: 29.7 kB / 1.294 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.2996, allocations: 340.1 kB / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.2996, allocations: 35.69 kB / 1.295 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.2997, allocations: 29.64 kB / 1.295 GB, free: 476 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2998, allocations: 314 kB / 1.295 GB, free: 156 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.3, allocations: 104 kB / 1.295 GB, free: 52 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.3003, allocations: 114.5 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.3007, allocations: 222.4 kB / 1.296 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3007, allocations: 0 / 1.296 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006348/0.3013, allocations: 325 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3014, allocations: 4 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3014, allocations: 4.469 kB / 1.296 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3014, allocations: 3.938 kB / 1.296 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.3016, allocations: 31.91 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3016, allocations: 0 / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.3017, allocations: 8 kB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3018, allocations: 7.938 kB / 1.296 GB, free: 15.32 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.0003085/0.3021, allocations: 253.7 kB / 1.296 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3022, allocations: 75.48 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006691/0.3028, allocations: 328.4 kB / 1.297 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3029, allocations: 4 kB / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3029, allocations: 0 / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3029, allocations: 0 / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005947/0.3035, allocations: 0.5079 MB / 1.297 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3035, allocations: 0 / 1.297 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3036, allocations: 27.97 kB / 1.297 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3036, allocations: 0 / 1.297 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3036, allocations: 0 / 1.297 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.3036, allocations: 3.938 kB / 1.297 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3036, allocations: 0 / 1.297 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.3042, allocations: 410.9 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.3045, allocations: 103.5 kB / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.3045, allocations: 4 kB / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.3047, allocations: 7.938 kB / 1.298 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3047, allocations: 7.984 kB / 1.298 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.3047, allocations: 0 / 1.298 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009325/0.3057, allocations: 0.7293 MB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3057, allocations: 0 / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003629/0.306, allocations: 67.89 kB / 1.298 GB, free: 12.74 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.001016/0.3071, allocations: 0.9608 MB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004952/0.3075, allocations: 211.8 kB / 1.3 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3076, allocations: 7.938 kB / 1.3 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.3078, allocations: 112 kB / 1.3 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.3082, allocations: 47.31 kB / 1.3 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009117/0.3173, allocations: 6.397 MB / 1.306 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.318, allocations: 0.9479 MB / 1.307 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.3182, allocations: 77.31 kB / 1.307 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.3184, allocations: 219.3 kB / 1.307 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.3184, allocations: 0 / 1.307 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.3544, allocations: 11.99 MB / 1.319 GB, free: 7.812 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.74, allocations: 12.56 kB / 1.319 GB, free: 7.805 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.1456839540042] Failed to read output from testmodel.py, exit status != 0: 13.377535190957133 12.930969328 12.636603361 Calling exit ...