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.001367/0.001367, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00141/0.00141, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.978/2.978, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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.002027/0.002027, allocations: 63.89 kB / 1.15 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 176.1 MB / 1.321 GB, free: 7.566 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005147/1.038, allocations: 2.784 MB / 1.324 GB, free: 5.367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00244/1.04, allocations: 1.097 MB / 1.325 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/1.04, allocations: 3.875 kB / 1.325 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007611/1.041, allocations: 225.6 kB / 1.325 GB, free: 4.324 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003889/1.042, allocations: 84.78 kB / 1.326 GB, free: 4.258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/1.042, allocations: 187.2 kB / 1.326 GB, free: 4.113 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006501/1.043, allocations: 396 kB / 1.326 GB, free: 3.871 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/1.043, allocations: 157.3 kB / 1.326 GB, free: 3.746 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/1.044, allocations: 156.2 kB / 1.326 GB, free: 3.645 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/1.044, allocations: 184.7 kB / 1.327 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.02e-05/1.044, allocations: 40 kB / 1.327 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/1.044, allocations: 178 kB / 1.327 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/1.045, allocations: 265.3 kB / 1.327 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003678/1.045, allocations: 357.2 kB / 1.327 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/1.046, allocations: 0.9651 MB / 1.328 GB, free: 2.242 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.046, allocations: 1.344 kB / 1.328 GB, free: 2.242 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.434e-06/1.046, allocations: 3.938 kB / 1.328 GB, free: 2.238 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.905e-05/1.046, allocations: 0 / 1.328 GB, free: 2.238 MB / 1.014 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.002155/1.049, allocations: 1.168 MB / 1.329 GB, free: 1.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.049, allocations: 13.95 kB / 1.33 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.27e-05/1.049, allocations: 7.5 kB / 1.33 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.932e-05/1.049, allocations: 69.41 kB / 1.33 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/1.05, allocations: 238.3 kB / 1.33 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/1.052, allocations: 0.7304 MB / 1.331 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/1.052, allocations: 24.78 kB / 1.331 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/1.052, allocations: 36.83 kB / 1.331 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009449/1.053, allocations: 387.7 kB / 1.331 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.053, allocations: 0 / 1.331 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/1.053, allocations: 11.22 kB / 1.331 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/1.053, allocations: 10.16 kB / 1.331 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/1.054, allocations: 418.4 kB / 1.331 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003831/1.058, allocations: 1.771 MB / 1.333 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/1.059, allocations: 207.8 kB / 1.333 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/1.059, allocations: 88.88 kB / 1.333 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/1.059, allocations: 13.02 kB / 1.333 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/1.059, allocations: 35.91 kB / 1.333 GB, free: 14.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/1.059, allocations: 3.938 kB / 1.333 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0013/1.06, allocations: 372.2 kB / 1.334 GB, free: 14.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/1.061, allocations: 58.89 kB / 1.334 GB, free: 14.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/1.062, allocations: 1.244 MB / 1.335 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/1.063, allocations: 35.58 kB / 1.335 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/1.063, allocations: 438.5 kB / 1.336 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/1.063, allocations: 71.58 kB / 1.336 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/1.063, allocations: 48.86 kB / 1.336 GB, free: 13.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.063, allocations: 317.2 kB / 1.336 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/1.064, allocations: 147.9 kB / 1.336 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/1.064, allocations: 202.9 kB / 1.336 GB, free: 12.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/1.065, allocations: 284.5 kB / 1.337 GB, free: 12.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.065, allocations: 0 / 1.337 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001181/1.066, allocations: 470.3 kB / 1.337 GB, free: 12.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/1.066, allocations: 9.219 kB / 1.337 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.066, allocations: 2.5 kB / 1.337 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.066, allocations: 2.188 kB / 1.337 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/1.066, allocations: 66.08 kB / 1.337 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.066, allocations: 2.25 kB / 1.337 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/1.067, allocations: 36.58 kB / 1.337 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/1.067, allocations: 7.781 kB / 1.337 GB, free: 12.2 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.0004195/1.067, allocations: 277 kB / 1.337 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/1.068, allocations: 97.3 kB / 1.337 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/1.069, allocations: 326.3 kB / 1.338 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/1.069, allocations: 2.562 kB / 1.338 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.069, allocations: 0 / 1.338 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.069, allocations: 0 / 1.338 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/1.071, allocations: 0.9974 MB / 1.339 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.071, allocations: 1.844 kB / 1.339 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/1.071, allocations: 47.88 kB / 1.339 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/1.071, allocations: 7.219 kB / 1.339 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/1.071, allocations: 3.219 kB / 1.339 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/1.071, allocations: 6.078 kB / 1.339 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.071, allocations: 6.031 kB / 1.339 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/1.072, allocations: 445.6 kB / 1.339 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/1.072, allocations: 211.1 kB / 1.339 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/1.073, allocations: 7.406 kB / 1.339 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/1.073, allocations: 20.98 kB / 1.339 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/1.073, allocations: 24.55 kB / 1.339 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/1.073, allocations: 10.39 kB / 1.34 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001386/1.074, allocations: 0.9021 MB / 1.34 GB, free: 9.883 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/1.074, allocations: 0 / 1.34 GB, free: 9.883 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006408/1.075, allocations: 102.4 kB / 1.34 GB, free: 9.863 MB / 1.029 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.001535/1.077, allocations: 1 MB / 1.341 GB, free: 8.992 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008833/1.077, allocations: 266.1 kB / 1.342 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.077, allocations: 5.188 kB / 1.342 GB, free: 8.879 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/1.078, allocations: 94.45 kB / 1.342 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/1.079, allocations: 69.83 kB / 1.342 GB, free: 8.789 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.091, allocations: 7.264 MB / 1.349 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/1.092, allocations: 0.996 MB / 1.35 GB, free: 3.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004118/1.093, allocations: 100.2 kB / 1.35 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/1.093, allocations: 299.4 kB / 1.35 GB, free: 3.406 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/1.093, allocations: 1.094 kB / 1.35 GB, free: 3.406 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/1.136, allocations: 13.78 MB / 1.364 GB, free: 10.24 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.59, allocations: 18.55 kB / 1.364 GB, free: 10.23 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.07076735800365] Failed to read output from testmodel.py, exit status != 0: 11.72914445499191 11.7522571 10.701322728 Calling exit ...