Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001242/0.001242, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002058/0.002058, allocations: 219.6 kB / 23.03 MB, free: 4.941 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.245/3.245, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_12_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.001918/0.001918, allocations: 60.62 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3533, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005994/0.3593, allocations: 2.578 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.3618, allocations: 1.014 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.3621, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009033/0.363, allocations: 198.6 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.3634, allocations: 95.23 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.3641, allocations: 179.7 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000762/0.3649, allocations: 403.8 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.3653, allocations: 158.3 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.3655, allocations: 163.2 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3658, allocations: 175 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.135e-05/0.3659, allocations: 40 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.3664, allocations: 179.8 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.3667, allocations: 259.2 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.3671, allocations: 262.2 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.3686, allocations: 0.9837 MB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3686, allocations: 4 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3686, allocations: 4 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.171e-05/0.3686, allocations: 0 / 1.333 GB, free: 10.81 MB / 1.029 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.002317/0.3709, allocations: 1.079 MB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.371, allocations: 12.03 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.408e-05/0.371, allocations: 8.844 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.81e-05/0.3711, allocations: 66.72 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.373, allocations: 244 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.375, allocations: 0.6671 MB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.3751, allocations: 25.02 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.3752, allocations: 32.38 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.3764, allocations: 411.8 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3764, allocations: 3.938 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.3765, allocations: 12 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3765, allocations: 8 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.378, allocations: 418.4 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/0.3824, allocations: 1.466 MB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3834, allocations: 213.2 kB / 1.338 GB, free: 6.016 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.3838, allocations: 84.81 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.3839, allocations: 11.98 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.3839, allocations: 38.5 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.574e-06/0.3839, allocations: 4 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.00156/0.3855, allocations: 373.9 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.3856, allocations: 59.39 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/0.388, allocations: 1.243 MB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.388, allocations: 33.7 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/0.3886, allocations: 424.5 kB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.669e-05/0.3887, allocations: 75.38 kB / 1.34 GB, free: 3.629 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.3889, allocations: 49.7 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.389, allocations: 322 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/0.3896, allocations: 143.9 kB / 1.34 GB, free: 3.113 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.3902, allocations: 227.6 kB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009558/0.3912, allocations: 282.8 kB / 1.341 GB, free: 2.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.3912, allocations: 4 kB / 1.341 GB, free: 2.566 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001385/0.3926, allocations: 470.9 kB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3926, allocations: 7.938 kB / 1.341 GB, free: 2.094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3926, allocations: 4 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3926, allocations: 0 / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.3931, allocations: 64.05 kB / 1.341 GB, free: 2.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.3931, allocations: 4 kB / 1.341 GB, free: 2.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.3935, allocations: 35.83 kB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.3936, allocations: 12 kB / 1.341 GB, free: 1.977 MB / 1.029 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.000477/0.394, allocations: 274.1 kB / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.3942, allocations: 91.33 kB / 1.342 GB, free: 1.609 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.3955, allocations: 327.5 kB / 1.342 GB, free: 1.281 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3955, allocations: 3.938 kB / 1.342 GB, free: 1.277 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3955, allocations: 7.938 kB / 1.342 GB, free: 1.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3955, allocations: 0 / 1.342 GB, free: 1.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.3981, allocations: 0.8939 MB / 1.343 GB, free: 316 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.3981, allocations: 0 / 1.343 GB, free: 316 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.3984, allocations: 47.89 kB / 1.343 GB, free: 268 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.3984, allocations: 4 kB / 1.343 GB, free: 264 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.3984, allocations: 8.156 kB / 1.343 GB, free: 256 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3984, allocations: 8 kB / 1.343 GB, free: 248 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3984, allocations: 3.938 kB / 1.343 GB, free: 244 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.3993, allocations: 448.2 kB / 1.344 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.3995, allocations: 131.3 kB / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.3996, allocations: 8 kB / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.3999, allocations: 15.97 kB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.4, allocations: 19.92 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.4, allocations: 11.98 kB / 1.344 GB, free: 15.58 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001255/0.4013, allocations: 0.9067 MB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4013, allocations: 4 kB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004751/0.4017, allocations: 99.77 kB / 1.345 GB, free: 14.56 MB / 1.045 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.001306/0.403, allocations: 0.9916 MB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007567/0.4038, allocations: 263.7 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4038, allocations: 0 / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.4041, allocations: 104.5 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.4046, allocations: 70.52 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.4162, allocations: 7.248 MB / 1.353 GB, free: 5.656 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.4168, allocations: 404.5 kB / 1.354 GB, free: 5.238 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003352/0.4171, allocations: 96.66 kB / 1.354 GB, free: 5.141 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.4175, allocations: 291.3 kB / 1.354 GB, free: 4.859 MB / 1.045 GB Notification: Performance of SimCode: time 9.82e-07/0.4175, allocations: 4 kB / 1.354 GB, free: 4.855 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/0.4598, allocations: 14.24 MB / 1.368 GB, free: 6.914 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.57, allocations: 8.047 kB / 1.368 GB, free: 6.906 MB / 1.061 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.40383327601012] Failed to read output from testmodel.py, exit status != 0: 13.739626970957033 13.763727331 13.390581429 Calling exit ...