Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001423/0.001423, allocations: 116.8 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.001498/0.001498, allocations: 209.5 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.02/3.02, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_12_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.002113/0.002113, allocations: 66.22 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 176.1 MB / 1.321 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00309/1.089, allocations: 2.283 MB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001346/1.091, allocations: 0.9709 MB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/1.091, allocations: 6.562 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005819/1.091, allocations: 188 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/1.092, allocations: 66.02 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/1.092, allocations: 114.8 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002567/1.092, allocations: 226.8 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/1.092, allocations: 66.61 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/1.093, allocations: 88.67 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/1.093, allocations: 109 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/1.093, allocations: 17.34 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/1.093, allocations: 153.7 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/1.093, allocations: 215.8 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/1.093, allocations: 261.9 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006449/1.094, allocations: 0.73 MB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.094, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.854e-06/1.094, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.23e-05/1.094, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 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.001341/1.095, allocations: 1.003 MB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.095, allocations: 14.48 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.901e-05/1.095, allocations: 2.938 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/1.095, allocations: 45.7 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000651/1.096, allocations: 125.3 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/1.097, allocations: 0.5943 MB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.097, allocations: 9.125 kB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/1.097, allocations: 12.75 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/1.097, allocations: 202.7 kB / 1.329 GB, free: 19.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.097, allocations: 3.984 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/1.097, allocations: 12.53 kB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.097, allocations: 3.375 kB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/1.098, allocations: 221.9 kB / 1.329 GB, free: 19.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/1.1, allocations: 0.9116 MB / 1.33 GB, free: 19.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/1.1, allocations: 311.4 kB / 1.33 GB, free: 19.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/1.101, allocations: 109 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008374/1.101, allocations: 236.4 kB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/1.101, allocations: 35.38 kB / 1.331 GB, free: 18.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/1.101, allocations: 0 / 1.331 GB, free: 18.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001029/1.102, allocations: 409.8 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/1.102, allocations: 53.22 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/1.104, allocations: 0.9946 MB / 1.332 GB, free: 18.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/1.104, allocations: 31.89 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/1.104, allocations: 341.1 kB / 1.332 GB, free: 18.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/1.104, allocations: 38.31 kB / 1.332 GB, free: 18.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/1.104, allocations: 28.84 kB / 1.332 GB, free: 17.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/1.104, allocations: 308.3 kB / 1.333 GB, free: 17.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/1.105, allocations: 96.17 kB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/1.105, allocations: 122.9 kB / 1.333 GB, free: 17.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/1.105, allocations: 222.5 kB / 1.333 GB, free: 17.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.105, allocations: 0 / 1.333 GB, free: 17.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006668/1.106, allocations: 321.5 kB / 1.333 GB, free: 17.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.106, allocations: 13.22 kB / 1.333 GB, free: 17.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.106, allocations: 1.703 kB / 1.333 GB, free: 17.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.106, allocations: 1.219 kB / 1.333 GB, free: 17.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/1.106, allocations: 27.94 kB / 1.333 GB, free: 17.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/1.106, allocations: 2.453 kB / 1.333 GB, free: 17.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/1.106, allocations: 15.33 kB / 1.333 GB, free: 17.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/1.106, allocations: 8.172 kB / 1.333 GB, free: 17.37 MB / 1.061 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.000272/1.107, allocations: 254.4 kB / 1.334 GB, free: 17.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/1.107, allocations: 75.33 kB / 1.334 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007879/1.108, allocations: 326.4 kB / 1.334 GB, free: 17.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/1.108, allocations: 1.953 kB / 1.334 GB, free: 17.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.108, allocations: 0.5625 kB / 1.334 GB, free: 17.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.108, allocations: 1.391 kB / 1.334 GB, free: 17.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007227/1.108, allocations: 0.5367 MB / 1.335 GB, free: 16.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.108, allocations: 3.938 kB / 1.335 GB, free: 16.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/1.108, allocations: 29.69 kB / 1.335 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.108, allocations: 0 / 1.335 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/1.108, allocations: 5.938 kB / 1.335 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.108, allocations: 2.219 kB / 1.335 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.108, allocations: 0 / 1.335 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/1.109, allocations: 411.3 kB / 1.335 GB, free: 16.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/1.109, allocations: 184.8 kB / 1.335 GB, free: 16.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/1.109, allocations: 2.031 kB / 1.335 GB, free: 16.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/1.109, allocations: 5.906 kB / 1.335 GB, free: 16.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/1.109, allocations: 5.984 kB / 1.335 GB, free: 16.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.11, allocations: 7.406 kB / 1.335 GB, free: 16.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008557/1.11, allocations: 0.7204 MB / 1.336 GB, free: 16.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.11, allocations: 0 / 1.336 GB, free: 16.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003803/1.111, allocations: 68.52 kB / 1.336 GB, free: 16.02 MB / 1.061 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.0007996/1.112, allocations: 0.9603 MB / 1.337 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004981/1.112, allocations: 213.5 kB / 1.337 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.112, allocations: 1.938 kB / 1.337 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/1.112, allocations: 114.7 kB / 1.337 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/1.113, allocations: 55.23 kB / 1.337 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009218/1.122, allocations: 6.396 MB / 1.344 GB, free: 12.19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/1.123, allocations: 0.9427 MB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002808/1.123, allocations: 77.86 kB / 1.345 GB, free: 11.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/1.123, allocations: 220.2 kB / 1.345 GB, free: 11.27 MB / 1.061 GB Notification: Performance of SimCode: time 1.001e-06/1.123, allocations: 0 / 1.345 GB, free: 11.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04609/1.169, allocations: 11.87 MB / 1.356 GB, free: 9.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.38, allocations: 8.406 kB / 1.356 GB, free: 9.52 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.843546463001985] Failed to read output from testmodel.py, exit status != 0: 11.508374147000723 11.520575939 10.423945145 Calling exit ...