Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001228/0.001228, 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.001356/0.001356, 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.365/1.365, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002327/0.002327, allocations: 281.7 kB / 309.8 MB, free: 3.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.003/1.003, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002775/0.002775, allocations: 99.86 kB / 0.7346 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.5176, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2156/0.7333, allocations: 174.5 MB / 0.9982 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006729/0.74, allocations: 4.31 MB / 1.002 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006856/0.7407, allocations: 31.75 kB / 1.002 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009856/0.7417, allocations: 373.9 kB / 1.003 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.7445, allocations: 1.266 MB / 1.004 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.7465, allocations: 0.799 MB / 1.005 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002232/0.7487, allocations: 1.697 MB / 1.006 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007213/0.7494, allocations: 486.5 kB / 1.007 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.7507, allocations: 0.7278 MB / 1.008 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.7519, allocations: 0.5828 MB / 1.008 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.862e-05/0.752, allocations: 64 kB / 1.008 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.7536, allocations: 0.8495 MB / 1.009 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.7539, allocations: 283.2 kB / 1.009 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004411/0.7543, allocations: 406.3 kB / 1.01 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.756, allocations: 1.269 MB / 1.011 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.756, allocations: 0 / 1.011 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.423e-06/0.756, allocations: 0 / 1.011 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.756, allocations: 0 / 1.011 GB, free: 13.91 MB / 0.7481 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.001845/0.7579, allocations: 1.063 MB / 1.012 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.7579, allocations: 8.031 kB / 1.012 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.116e-05/0.758, allocations: 13.31 kB / 1.012 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.7581, allocations: 106.5 kB / 1.012 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009906/0.7591, allocations: 167.4 kB / 1.012 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/0.7599, allocations: 0.541 MB / 1.013 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.7599, allocations: 37.31 kB / 1.013 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.76, allocations: 52 kB / 1.013 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.7611, allocations: 0.6557 MB / 1.014 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.7611, allocations: 0 / 1.014 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.7612, allocations: 23.98 kB / 1.014 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/0.7612, allocations: 21.31 kB / 1.014 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009298/0.7622, allocations: 0.5126 MB / 1.014 GB, free: 10.59 MB / 0.7481 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.003305/0.7655, allocations: 2.302 MB / 1.016 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.766, allocations: 246.3 kB / 1.017 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.7663, allocations: 124.8 kB / 1.017 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.7663, allocations: 7.984 kB / 1.017 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.7663, allocations: 38.56 kB / 1.017 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.7663, allocations: 3.938 kB / 1.017 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.001675/0.768, allocations: 0.6634 MB / 1.017 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.768, allocations: 85.05 kB / 1.017 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/0.7687, allocations: 0.5613 MB / 1.018 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.7687, allocations: 29.7 kB / 1.018 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.769, allocations: 343.7 kB / 1.018 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.7691, allocations: 75.36 kB / 1.018 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.7692, allocations: 69.98 kB / 1.019 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.7694, allocations: 362.7 kB / 1.019 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.7696, allocations: 136.6 kB / 1.019 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.77, allocations: 214.7 kB / 1.019 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.7705, allocations: 337.4 kB / 1.02 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7705, allocations: 4 kB / 1.02 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009162/0.7714, allocations: 494.6 kB / 1.02 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.7715, allocations: 4.281 kB / 1.02 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7715, allocations: 8 kB / 1.02 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.7718, allocations: 93.64 kB / 1.02 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.7721, allocations: 71.91 kB / 1.02 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.7753, allocations: 3.339 MB / 1.023 GB, free: 404 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.7757, allocations: 55.67 kB / 1.023 GB, free: 348 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.7757, allocations: 12 kB / 1.024 GB, free: 336 kB / 0.7481 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.0002695/0.776, allocations: 221.8 kB / 1.024 GB, free: 108 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.7761, allocations: 59.67 kB / 1.024 GB, free: 48 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.7762, allocations: 60.52 kB / 1.024 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.7762, allocations: 3.938 kB / 1.024 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.7762, allocations: 0 / 1.024 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007538/0.777, allocations: 0.5267 MB / 1.024 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.7783, allocations: 0.9259 MB / 1.025 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7783, allocations: 4.062 kB / 1.025 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.7785, allocations: 39.97 kB / 1.025 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.7787, allocations: 60.81 kB / 1.025 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.7787, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.7805, allocations: 1.825 MB / 1.027 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7805, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.7811, allocations: 443.9 kB / 1.028 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.7813, allocations: 176.6 kB / 1.028 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.7814, allocations: 4 kB / 1.028 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.7818, allocations: 19.98 kB / 1.028 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.7819, allocations: 19.97 kB / 1.028 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.7819, allocations: 16 kB / 1.028 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004668/0.7824, allocations: 398.8 kB / 1.028 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/0.7824, allocations: 0 / 1.028 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006246/0.783, allocations: 207.7 kB / 1.028 GB, free: 11.02 MB / 0.7637 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.001115/0.7841, allocations: 1.019 MB / 1.029 GB, free: 9.961 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009181/0.7851, allocations: 0.5205 MB / 1.03 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7851, allocations: 3.938 kB / 1.03 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.7854, allocations: 253 kB / 1.03 GB, free: 9.152 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.787, allocations: 374.2 kB / 1.03 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/0.7932, allocations: 4.466 MB / 1.035 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.7937, allocations: 0.9093 MB / 1.036 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004055/0.7941, allocations: 116.8 kB / 1.036 GB, free: 3.121 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.7944, allocations: 187.4 kB / 1.036 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of SimCode: time 8.32e-07/0.7944, allocations: 0 / 1.036 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.8401, allocations: 17.95 MB / 1.054 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.84, allocations: 19.5 kB / 1.054 GB, free: 1.402 MB / 0.7794 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.626760695013218] Failed to read output from testmodel.py, exit status != 0: 12.990385609969962 13.002955876 12.244219587 Calling exit ...