Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.001234/0.001234, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001447/0.001447, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.692/2.692, allocations: 476.7 MB / 0.7715 GB, free: 4.297 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.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.00208/0.00208, allocations: 64.44 kB / 1.118 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3282, allocations: 169.9 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004573/0.3327, allocations: 2.796 MB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3349, allocations: 1.107 MB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.3352, allocations: 4 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006909/0.3359, allocations: 210.4 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.3361, allocations: 87.25 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.3367, allocations: 191.7 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005126/0.3372, allocations: 407.7 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.3375, allocations: 154.3 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.3377, allocations: 151.3 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.3379, allocations: 183 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.338, allocations: 47.94 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.3383, allocations: 171.8 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.3386, allocations: 263.2 kB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.3389, allocations: 353.6 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.3402, allocations: 0.9722 MB / 1.291 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3402, allocations: 4 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3402, allocations: 0 / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.3402, allocations: 0 / 1.291 GB, free: 4.672 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002285/0.3425, allocations: 1.086 MB / 1.292 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/0.3426, allocations: 12.03 kB / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.346e-05/0.3426, allocations: 12.84 kB / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.075e-05/0.3427, allocations: 66.72 kB / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.3442, allocations: 236 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.3459, allocations: 0.6789 MB / 1.293 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.3459, allocations: 21.03 kB / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.346, allocations: 28.38 kB / 1.293 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.347, allocations: 386 kB / 1.293 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.347, allocations: 0 / 1.293 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.347, allocations: 23.98 kB / 1.294 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.3471, allocations: 4 kB / 1.294 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.3481, allocations: 418.4 kB / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.3519, allocations: 1.594 MB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007484/0.3526, allocations: 212.2 kB / 1.296 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.353, allocations: 92.8 kB / 1.296 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.353, allocations: 8.062 kB / 1.296 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.353, allocations: 34.56 kB / 1.296 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/0.353, allocations: 7.938 kB / 1.296 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001222/0.3543, allocations: 379.1 kB / 1.296 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3543, allocations: 55.34 kB / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.3561, allocations: 1.247 MB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.3562, allocations: 29.7 kB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.3566, allocations: 436.5 kB / 1.298 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.3568, allocations: 71.39 kB / 1.298 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.3569, allocations: 53.69 kB / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3571, allocations: 314 kB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.3575, allocations: 143.9 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.358, allocations: 199.2 kB / 1.299 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.3588, allocations: 283.3 kB / 1.299 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3588, allocations: 0 / 1.299 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001181/0.36, allocations: 469.8 kB / 1.299 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.36, allocations: 7.938 kB / 1.299 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.36, allocations: 8 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.36, allocations: 3.984 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.3604, allocations: 63.97 kB / 1.299 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3604, allocations: 4 kB / 1.299 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.3607, allocations: 31.83 kB / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.3608, allocations: 15.92 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0004644/0.3612, allocations: 265.7 kB / 1.3 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.3614, allocations: 91.33 kB / 1.3 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009792/0.3624, allocations: 325.7 kB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3624, allocations: 8 kB / 1.3 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3624, allocations: 0 / 1.3 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3624, allocations: 0 / 1.3 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.3643, allocations: 0.9715 MB / 1.301 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3643, allocations: 3.938 kB / 1.301 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.3645, allocations: 48.16 kB / 1.301 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.3646, allocations: 4 kB / 1.301 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.3646, allocations: 7.984 kB / 1.301 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3646, allocations: 0 / 1.301 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/0.3646, allocations: 7.938 kB / 1.301 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.3655, allocations: 440.2 kB / 1.302 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.3658, allocations: 135.3 kB / 1.302 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.3659, allocations: 8 kB / 1.302 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.3662, allocations: 15.98 kB / 1.302 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.3662, allocations: 35.84 kB / 1.302 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.3663, allocations: 4 kB / 1.302 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001244/0.3675, allocations: 0.9028 MB / 1.303 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3675, allocations: 0 / 1.303 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004971/0.368, allocations: 111.8 kB / 1.303 GB, free: 8.273 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001449/0.3695, allocations: 0.9886 MB / 1.304 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000839/0.3703, allocations: 271.7 kB / 1.304 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.3703, allocations: 0 / 1.304 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.3706, allocations: 104.1 kB / 1.304 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.3712, allocations: 73.23 kB / 1.304 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.3832, allocations: 7.257 MB / 1.311 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/0.384, allocations: 1.003 MB / 1.312 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003766/0.3844, allocations: 100.6 kB / 1.312 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.3848, allocations: 295.3 kB / 1.313 GB, free: 13.94 MB / 1.014 GB Notification: Performance of SimCode: time 1.433e-06/0.3848, allocations: 0 / 1.313 GB, free: 13.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/0.4286, allocations: 13.99 MB / 1.326 GB, free: 144 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.53, allocations: 6.094 kB / 1.326 GB, free: 140 kB / 1.014 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.994190822995733] Failed to read output from testmodel.py, exit status != 0: 14.20797455101274 13.724925547 13.379906322 Calling exit ...