Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001477/0.001477, 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.001695/0.001695, allocations: 221.3 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.004/3.004, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_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.001899/0.001899, allocations: 73.19 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.308, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.176/0.4841, allocations: 150.9 MB / 1.493 GB, free: 8.535 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006594/0.4907, allocations: 4.035 MB / 1.497 GB, free: 4.492 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007203/0.4914, allocations: 31.75 kB / 1.497 GB, free: 4.461 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.4925, allocations: 326 kB / 1.497 GB, free: 4.141 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003743/0.4962, allocations: 1.291 MB / 1.498 GB, free: 2.844 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.4988, allocations: 0.8114 MB / 1.499 GB, free: 2.035 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002619/0.5014, allocations: 1.736 MB / 1.501 GB, free: 300 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009178/0.5023, allocations: 448.3 kB / 1.501 GB, free: 15.86 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.5041, allocations: 0.7901 MB / 1.502 GB, free: 15.07 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.5057, allocations: 0.5825 MB / 1.502 GB, free: 14.48 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.5059, allocations: 68 kB / 1.502 GB, free: 14.42 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.5074, allocations: 0.6702 MB / 1.503 GB, free: 13.75 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.5078, allocations: 279.2 kB / 1.503 GB, free: 13.47 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006234/0.5084, allocations: 338.7 kB / 1.504 GB, free: 13.14 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.5105, allocations: 1.261 MB / 1.505 GB, free: 11.88 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5105, allocations: 0 / 1.505 GB, free: 11.88 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5105, allocations: 0 / 1.505 GB, free: 11.88 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.902e-05/0.5105, allocations: 0 / 1.505 GB, free: 11.88 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.002025/0.5125, allocations: 0.9718 MB / 1.506 GB, free: 10.87 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5126, allocations: 12.03 kB / 1.506 GB, free: 10.86 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.312e-05/0.5126, allocations: 17.25 kB / 1.506 GB, free: 10.84 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.5127, allocations: 98.52 kB / 1.506 GB, free: 10.73 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.5138, allocations: 175.4 kB / 1.506 GB, free: 10.56 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.5147, allocations: 486.7 kB / 1.507 GB, free: 10.06 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.5147, allocations: 37.31 kB / 1.507 GB, free: 10.02 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.5148, allocations: 48 kB / 1.507 GB, free: 9.973 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.5161, allocations: 1.003 MB / 1.508 GB, free: 8.867 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.5162, allocations: 0 / 1.508 GB, free: 8.867 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.5162, allocations: 31.98 kB / 1.508 GB, free: 8.836 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.5162, allocations: 21.31 kB / 1.508 GB, free: 8.816 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009321/0.5172, allocations: 0.5087 MB / 1.508 GB, free: 8.309 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.00318/0.5204, allocations: 1.675 MB / 1.51 GB, free: 6.582 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.5209, allocations: 243.7 kB / 1.51 GB, free: 6.336 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.5211, allocations: 124.8 kB / 1.51 GB, free: 6.211 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.5211, allocations: 4 kB / 1.51 GB, free: 6.207 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.5212, allocations: 42.5 kB / 1.51 GB, free: 6.156 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.5212, allocations: 0 / 1.51 GB, free: 6.156 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.001564/0.5227, allocations: 0.516 MB / 1.511 GB, free: 5.629 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.5228, allocations: 89.05 kB / 1.511 GB, free: 5.523 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.5235, allocations: 0.5497 MB / 1.511 GB, free: 4.961 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.5235, allocations: 33.7 kB / 1.511 GB, free: 4.922 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.5238, allocations: 343.7 kB / 1.512 GB, free: 4.582 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.781e-05/0.5239, allocations: 79.36 kB / 1.512 GB, free: 4.504 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.524, allocations: 69.98 kB / 1.512 GB, free: 4.43 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5242, allocations: 362.7 kB / 1.512 GB, free: 4.066 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.5244, allocations: 124.6 kB / 1.512 GB, free: 3.945 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.5248, allocations: 248.3 kB / 1.513 GB, free: 3.664 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.5253, allocations: 328.4 kB / 1.513 GB, free: 3.312 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5253, allocations: 0 / 1.513 GB, free: 3.312 MB / 1.201 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009447/0.5263, allocations: 0.4992 MB / 1.513 GB, free: 2.801 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5263, allocations: 5.719 kB / 1.513 GB, free: 2.797 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5263, allocations: 4 kB / 1.513 GB, free: 2.793 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.5266, allocations: 89.64 kB / 1.513 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.527, allocations: 76.12 kB / 1.514 GB, free: 2.625 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.5302, allocations: 3.121 MB / 1.517 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.5306, allocations: 55.61 kB / 1.517 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.5307, allocations: 12 kB / 1.517 GB, free: 15.2 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.0002971/0.531, allocations: 214.4 kB / 1.517 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.5311, allocations: 55.67 kB / 1.517 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.5312, allocations: 56.44 kB / 1.517 GB, free: 14.87 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5312, allocations: 11.88 kB / 1.517 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.5312, allocations: 0 / 1.517 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007754/0.532, allocations: 0.5321 MB / 1.518 GB, free: 14.26 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.5333, allocations: 0.8198 MB / 1.518 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5333, allocations: 0 / 1.518 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.5335, allocations: 39.98 kB / 1.518 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.5337, allocations: 73.05 kB / 1.518 GB, free: 13.27 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.5337, allocations: 8 kB / 1.518 GB, free: 13.26 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.5355, allocations: 1.706 MB / 1.52 GB, free: 11.44 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5355, allocations: 4.094 kB / 1.52 GB, free: 11.43 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/0.5362, allocations: 437.5 kB / 1.521 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.5364, allocations: 95.5 kB / 1.521 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.5365, allocations: 8 kB / 1.521 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.5369, allocations: 22.48 kB / 1.521 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.537, allocations: 19.97 kB / 1.521 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.537, allocations: 12.17 kB / 1.521 GB, free: 10.83 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004817/0.5375, allocations: 398.8 kB / 1.521 GB, free: 10.44 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5375, allocations: 4 kB / 1.521 GB, free: 10.44 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006361/0.5381, allocations: 207.7 kB / 1.521 GB, free: 10.23 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.001102/0.5392, allocations: 1.029 MB / 1.522 GB, free: 9.172 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009271/0.5402, allocations: 0.5208 MB / 1.523 GB, free: 8.625 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5402, allocations: 4.188 kB / 1.523 GB, free: 8.621 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.5405, allocations: 242.5 kB / 1.523 GB, free: 8.371 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.5421, allocations: 375 kB / 1.523 GB, free: 8.016 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/0.5483, allocations: 4.466 MB / 1.528 GB, free: 3.379 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.5487, allocations: 310.7 kB / 1.528 GB, free: 3.047 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000428/0.5491, allocations: 112.8 kB / 1.528 GB, free: 2.938 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.5494, allocations: 195.4 kB / 1.528 GB, free: 2.746 MB / 1.217 GB Notification: Performance of SimCode: time 6.21e-07/0.5494, allocations: 0 / 1.528 GB, free: 2.746 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06187/0.6112, allocations: 19.16 MB / 1.547 GB, free: 56 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.75, allocations: 7.375 kB / 1.547 GB, free: 52 kB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.034942405996844] Failed to read output from testmodel.py, exit status != 0: 13.93260886403732 13.956141996 13.441065448 Calling exit ...