Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001755/0.001755, allocations: 101.5 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.002524/0.002524, allocations: 215.1 kB / 23.04 MB, free: 5.07 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.611/2.611, allocations: 476.7 MB / 0.7715 GB, free: 4.301 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.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.00194/0.00194, allocations: 63.75 kB / 1.118 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3687, allocations: 169.9 MB / 1.284 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2209/0.5896, allocations: 174.7 MB / 1.455 GB, free: 4.465 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007905/0.5975, allocations: 4.335 MB / 1.459 GB, free: 124 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.5985, allocations: 31.75 kB / 1.459 GB, free: 92 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.5997, allocations: 365.9 kB / 1.459 GB, free: 15.73 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003564/0.6033, allocations: 1.289 MB / 1.461 GB, free: 14.44 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.6057, allocations: 0.8356 MB / 1.461 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002861/0.6086, allocations: 1.73 MB / 1.463 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008785/0.6094, allocations: 444.3 kB / 1.464 GB, free: 11.43 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.6111, allocations: 0.7278 MB / 1.464 GB, free: 10.7 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.6129, allocations: 0.5864 MB / 1.465 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.613, allocations: 64 kB / 1.465 GB, free: 10.05 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.6151, allocations: 0.8652 MB / 1.466 GB, free: 9.188 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.6155, allocations: 283.1 kB / 1.466 GB, free: 8.91 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006174/0.6161, allocations: 406.3 kB / 1.466 GB, free: 8.512 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.6186, allocations: 1.273 MB / 1.468 GB, free: 7.234 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6186, allocations: 0 / 1.468 GB, free: 7.234 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6186, allocations: 0 / 1.468 GB, free: 7.234 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.6186, allocations: 0 / 1.468 GB, free: 7.234 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002272/0.6209, allocations: 0.9796 MB / 1.469 GB, free: 6.219 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.6209, allocations: 8.031 kB / 1.469 GB, free: 6.211 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.397e-05/0.6209, allocations: 13.31 kB / 1.469 GB, free: 6.199 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.6211, allocations: 102.5 kB / 1.469 GB, free: 6.09 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.6221, allocations: 163.4 kB / 1.469 GB, free: 5.93 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009657/0.6231, allocations: 494.7 kB / 1.469 GB, free: 5.422 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.6231, allocations: 45.19 kB / 1.469 GB, free: 5.375 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.6232, allocations: 52 kB / 1.469 GB, free: 5.324 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6243, allocations: 0.6441 MB / 1.47 GB, free: 4.664 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.6244, allocations: 3.984 kB / 1.47 GB, free: 4.66 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/0.6244, allocations: 24 kB / 1.47 GB, free: 4.637 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.6245, allocations: 25.25 kB / 1.47 GB, free: 4.613 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009428/0.6254, allocations: 0.5087 MB / 1.471 GB, free: 4.105 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.629, allocations: 2.258 MB / 1.473 GB, free: 1.684 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.6295, allocations: 252.2 kB / 1.473 GB, free: 1.43 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.6298, allocations: 126.5 kB / 1.473 GB, free: 1.305 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.6298, allocations: 4 kB / 1.473 GB, free: 1.301 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.6299, allocations: 42.56 kB / 1.473 GB, free: 1.25 MB / 1.17 GB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.6299, allocations: 4 kB / 1.473 GB, free: 1.246 MB / 1.17 GB Notification: Performance of matching and sorting (n=20): time 0.00169/0.6316, allocations: 0.5208 MB / 1.474 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.6316, allocations: 81.11 kB / 1.474 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007046/0.6323, allocations: 0.5536 MB / 1.474 GB, free: 56 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.6324, allocations: 33.7 kB / 1.474 GB, free: 16 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.6327, allocations: 343.7 kB / 1.475 GB, free: 15.68 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.563e-05/0.6328, allocations: 75.31 kB / 1.475 GB, free: 15.6 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.6329, allocations: 69.98 kB / 1.475 GB, free: 15.53 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.6331, allocations: 362.7 kB / 1.475 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.6333, allocations: 132.6 kB / 1.475 GB, free: 15.04 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.6337, allocations: 218.6 kB / 1.476 GB, free: 14.79 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.6342, allocations: 336.8 kB / 1.476 GB, free: 14.43 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6342, allocations: 0 / 1.476 GB, free: 14.43 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009857/0.6352, allocations: 0.495 MB / 1.476 GB, free: 13.92 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.6352, allocations: 4 kB / 1.476 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.6353, allocations: 4 kB / 1.476 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.6356, allocations: 93.64 kB / 1.476 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.6359, allocations: 67.91 kB / 1.477 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003335/0.6393, allocations: 3.136 MB / 1.48 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.6398, allocations: 47.62 kB / 1.48 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.6398, allocations: 16 kB / 1.48 GB, free: 10.32 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00041/0.6402, allocations: 214.4 kB / 1.48 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.6404, allocations: 59.62 kB / 1.48 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.6405, allocations: 52.45 kB / 1.48 GB, free: 9.992 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6405, allocations: 11.92 kB / 1.48 GB, free: 9.98 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6405, allocations: 4 kB / 1.48 GB, free: 9.977 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008338/0.6414, allocations: 0.5267 MB / 1.48 GB, free: 9.379 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.6429, allocations: 0.8899 MB / 1.481 GB, free: 8.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6429, allocations: 4 kB / 1.481 GB, free: 8.426 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.6432, allocations: 47.86 kB / 1.481 GB, free: 8.379 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.6434, allocations: 64.8 kB / 1.481 GB, free: 8.312 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.6434, allocations: 4 kB / 1.481 GB, free: 8.309 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.6453, allocations: 1.721 MB / 1.483 GB, free: 6.473 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6453, allocations: 4.062 kB / 1.483 GB, free: 6.469 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.6461, allocations: 437.6 kB / 1.484 GB, free: 6.016 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.6464, allocations: 99.45 kB / 1.484 GB, free: 5.918 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.6465, allocations: 4 kB / 1.484 GB, free: 5.914 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.647, allocations: 30.17 kB / 1.484 GB, free: 5.887 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.6471, allocations: 19.95 kB / 1.484 GB, free: 5.867 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.6471, allocations: 12 kB / 1.484 GB, free: 5.855 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005489/0.6477, allocations: 398.8 kB / 1.484 GB, free: 5.469 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6477, allocations: 0 / 1.484 GB, free: 5.469 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007545/0.6484, allocations: 203.8 kB / 1.484 GB, free: 5.27 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/0.6497, allocations: 1.021 MB / 1.485 GB, free: 4.215 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.6507, allocations: 0.5207 MB / 1.486 GB, free: 3.668 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6508, allocations: 0 / 1.486 GB, free: 3.668 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.6512, allocations: 252.8 kB / 1.486 GB, free: 3.41 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.653, allocations: 371 kB / 1.486 GB, free: 3.055 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007367/0.6603, allocations: 4.484 MB / 1.491 GB, free: 14.41 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/0.661, allocations: 0.9054 MB / 1.492 GB, free: 13.47 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004836/0.6615, allocations: 104.8 kB / 1.492 GB, free: 13.37 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.6618, allocations: 195.4 kB / 1.492 GB, free: 13.18 MB / 1.201 GB Notification: Performance of SimCode: time 1.082e-06/0.6618, allocations: 0 / 1.492 GB, free: 13.18 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07447/0.7363, allocations: 18.2 MB / 1.51 GB, free: 11.34 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.88, allocations: 8 kB / 1.51 GB, free: 11.33 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 21.292830192949623] Failed to read output from testmodel.py, exit status != 0: 15.054954738006927 15.069804625 14.448033751 Calling exit ...