Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001415/0.001415, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001601/0.001601, allocations: 216.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.31/1.31, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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.804/2.804, allocations: 0.49 GB / 0.7959 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] 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.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_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.001866/0.001866, allocations: 76.5 kB / 1.155 GB, free: 25.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2851, allocations: 176.1 MB / 1.327 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1818/0.4668, allocations: 174.8 MB / 1.497 GB, free: 2.668 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006219/0.4731, allocations: 4.342 MB / 1.502 GB, free: 14.32 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005477/0.4736, allocations: 27.75 kB / 1.502 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009099/0.4745, allocations: 369.9 kB / 1.502 GB, free: 13.93 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.4773, allocations: 1.283 MB / 1.503 GB, free: 12.64 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.4792, allocations: 0.837 MB / 1.504 GB, free: 11.8 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.4813, allocations: 1.726 MB / 1.506 GB, free: 10.07 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.482, allocations: 452.3 kB / 1.506 GB, free: 9.625 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.4835, allocations: 0.7785 MB / 1.507 GB, free: 8.844 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.4849, allocations: 0.5839 MB / 1.507 GB, free: 8.262 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.485, allocations: 68 kB / 1.508 GB, free: 8.195 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.4866, allocations: 0.8612 MB / 1.508 GB, free: 7.332 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.487, allocations: 271.3 kB / 1.509 GB, free: 7.066 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005544/0.4875, allocations: 410.2 kB / 1.509 GB, free: 6.664 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.4894, allocations: 1.273 MB / 1.51 GB, free: 5.387 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4895, allocations: 0 / 1.51 GB, free: 5.387 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4895, allocations: 0 / 1.51 GB, free: 5.387 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.543e-05/0.4895, allocations: 0 / 1.51 GB, free: 5.387 MB / 1.201 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.001984/0.4915, allocations: 0.9796 MB / 1.511 GB, free: 4.371 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4915, allocations: 8.031 kB / 1.511 GB, free: 4.363 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.133e-05/0.4915, allocations: 29.19 kB / 1.511 GB, free: 4.336 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.4917, allocations: 102.5 kB / 1.511 GB, free: 4.227 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.4927, allocations: 163.4 kB / 1.512 GB, free: 4.066 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/0.4935, allocations: 494.7 kB / 1.512 GB, free: 3.562 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.4936, allocations: 37.31 kB / 1.512 GB, free: 3.523 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.4936, allocations: 56 kB / 1.512 GB, free: 3.469 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.4947, allocations: 0.6518 MB / 1.513 GB, free: 2.801 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4948, allocations: 0 / 1.513 GB, free: 2.801 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.893e-05/0.4948, allocations: 20 kB / 1.513 GB, free: 2.781 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.4948, allocations: 21.31 kB / 1.513 GB, free: 2.762 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009493/0.4958, allocations: 0.5165 MB / 1.513 GB, free: 2.246 MB / 1.201 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.003489/0.4993, allocations: 2.254 MB / 1.515 GB, free: 15.83 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.4998, allocations: 238.7 kB / 1.516 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.5, allocations: 124.8 kB / 1.516 GB, free: 15.46 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.5, allocations: 8.344 kB / 1.516 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5001, allocations: 38.5 kB / 1.516 GB, free: 15.41 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.5001, allocations: 0 / 1.516 GB, free: 15.41 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.001576/0.5017, allocations: 0.5317 MB / 1.516 GB, free: 14.86 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.5017, allocations: 81.11 kB / 1.516 GB, free: 14.77 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.5024, allocations: 0.5536 MB / 1.517 GB, free: 14.2 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.5024, allocations: 33.7 kB / 1.517 GB, free: 14.16 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.5027, allocations: 339.8 kB / 1.517 GB, free: 13.83 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.752e-05/0.5027, allocations: 79.33 kB / 1.517 GB, free: 13.75 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.5028, allocations: 69.92 kB / 1.517 GB, free: 13.68 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.503, allocations: 366.7 kB / 1.518 GB, free: 13.31 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.5033, allocations: 132.6 kB / 1.518 GB, free: 13.18 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.5036, allocations: 214.6 kB / 1.518 GB, free: 12.94 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.5041, allocations: 332.9 kB / 1.518 GB, free: 12.58 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.5041, allocations: 4 kB / 1.518 GB, free: 12.58 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009192/0.505, allocations: 498.9 kB / 1.519 GB, free: 12.08 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.505, allocations: 8 kB / 1.519 GB, free: 12.07 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5051, allocations: 0 / 1.519 GB, free: 12.07 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.5053, allocations: 93.66 kB / 1.519 GB, free: 11.97 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.5057, allocations: 75.89 kB / 1.519 GB, free: 11.9 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.5088, allocations: 3.144 MB / 1.522 GB, free: 8.523 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.5092, allocations: 47.61 kB / 1.522 GB, free: 8.477 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.5093, allocations: 16 kB / 1.522 GB, free: 8.461 MB / 1.217 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.0002921/0.5096, allocations: 210.4 kB / 1.522 GB, free: 8.246 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.5097, allocations: 59.73 kB / 1.523 GB, free: 8.188 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.5098, allocations: 60.44 kB / 1.523 GB, free: 8.129 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5098, allocations: 3.938 kB / 1.523 GB, free: 8.125 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5098, allocations: 7.875 kB / 1.523 GB, free: 8.117 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007191/0.5105, allocations: 0.5205 MB / 1.523 GB, free: 7.527 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.5118, allocations: 0.899 MB / 1.524 GB, free: 6.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5118, allocations: 0 / 1.524 GB, free: 6.57 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.512, allocations: 39.97 kB / 1.524 GB, free: 6.531 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.5122, allocations: 64.81 kB / 1.524 GB, free: 6.465 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.5122, allocations: 8.062 kB / 1.524 GB, free: 6.457 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.5139, allocations: 1.73 MB / 1.526 GB, free: 4.609 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5139, allocations: 0 / 1.526 GB, free: 4.609 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.5146, allocations: 437.6 kB / 1.526 GB, free: 4.156 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.5148, allocations: 103.4 kB / 1.526 GB, free: 4.055 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.5149, allocations: 4 kB / 1.526 GB, free: 4.051 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.5153, allocations: 21.86 kB / 1.526 GB, free: 4.031 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.5154, allocations: 19.91 kB / 1.526 GB, free: 4.012 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.5154, allocations: 15.98 kB / 1.526 GB, free: 3.996 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004584/0.5159, allocations: 402.8 kB / 1.527 GB, free: 3.605 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.5159, allocations: 0 / 1.527 GB, free: 3.605 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006192/0.5165, allocations: 199.8 kB / 1.527 GB, free: 3.41 MB / 1.217 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.001092/0.5176, allocations: 1.013 MB / 1.528 GB, free: 2.363 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008869/0.5185, allocations: 0.5282 MB / 1.528 GB, free: 1.809 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5185, allocations: 0 / 1.528 GB, free: 1.809 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.5188, allocations: 248.7 kB / 1.529 GB, free: 1.555 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.5205, allocations: 376.8 kB / 1.529 GB, free: 1.199 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/0.5266, allocations: 4.476 MB / 1.533 GB, free: 12.55 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.5271, allocations: 0.9093 MB / 1.534 GB, free: 11.62 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003891/0.5275, allocations: 116.8 kB / 1.534 GB, free: 11.5 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.5277, allocations: 191.4 kB / 1.535 GB, free: 11.31 MB / 1.232 GB Notification: Performance of SimCode: time 7.21e-07/0.5277, allocations: 0 / 1.535 GB, free: 11.31 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/0.5742, allocations: 18.18 MB / 1.552 GB, free: 9.492 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.08, allocations: 10.38 kB / 1.552 GB, free: 9.488 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.98402796202572] Failed to read output from testmodel.py, exit status != 0: 13.265013318043202 13.283824615 12.790677677 Calling exit ...