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.001467/0.001467, allocations: 101.8 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.001631/0.001631, allocations: 217 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 8 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.002502/0.002502, allocations: 288.8 kB / 313.5 MB, free: 2.824 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.164/1.164, allocations: 180.6 MB / 0.5377 GB, free: 12.94 MB / 382.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.002658/0.002658, allocations: 110.5 kB / 0.7403 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1663, allocations: 95.38 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5893/0.7556, allocations: 174.7 MB / 1.004 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006088/0.7617, allocations: 4.343 MB / 1.008 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007657/0.7625, allocations: 26.84 kB / 1.008 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009524/0.7634, allocations: 370.9 kB / 1.009 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.7665, allocations: 1.29 MB / 1.01 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.7686, allocations: 0.8184 MB / 1.011 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.7711, allocations: 1.729 MB / 1.012 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006808/0.7718, allocations: 456.9 kB / 1.013 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.7734, allocations: 0.7226 MB / 1.014 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.7748, allocations: 0.5954 MB / 1.014 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.7749, allocations: 63.94 kB / 1.014 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.7768, allocations: 0.8661 MB / 1.015 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.7771, allocations: 279.2 kB / 1.015 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.7776, allocations: 407.4 kB / 1.016 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.7792, allocations: 1.269 MB / 1.017 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7793, allocations: 0 / 1.017 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7793, allocations: 1.094 kB / 1.017 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.7793, allocations: 1.062 kB / 1.017 GB, free: 3.16 MB / 0.7169 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.002046/0.7813, allocations: 0.9795 MB / 1.018 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.7814, allocations: 11.31 kB / 1.018 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.588e-05/0.7814, allocations: 15.44 kB / 1.018 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.7815, allocations: 103.3 kB / 1.018 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.7824, allocations: 159.9 kB / 1.018 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/0.7832, allocations: 493 kB / 1.019 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.7833, allocations: 48.75 kB / 1.019 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.7833, allocations: 54.5 kB / 1.019 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.7842, allocations: 0.6501 MB / 1.019 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.7843, allocations: 1.062 kB / 1.019 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.7843, allocations: 25.72 kB / 1.019 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.7843, allocations: 19.47 kB / 1.019 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.7851, allocations: 0.5125 MB / 1.02 GB, free: 18.27 MB / 0.7325 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.002948/0.788, allocations: 2.26 MB / 1.022 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.7885, allocations: 240.9 kB / 1.022 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.7887, allocations: 126.9 kB / 1.023 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.7887, allocations: 5.469 kB / 1.023 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.7888, allocations: 46.25 kB / 1.023 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.7888, allocations: 1 kB / 1.023 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001474/0.7902, allocations: 0.5133 MB / 1.023 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.7903, allocations: 81.39 kB / 1.023 GB, free: 17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.7908, allocations: 0.5583 MB / 1.024 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.7909, allocations: 32.61 kB / 1.024 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.7911, allocations: 343.9 kB / 1.024 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.7911, allocations: 70.22 kB / 1.024 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.7912, allocations: 73.45 kB / 1.024 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7914, allocations: 361.4 kB / 1.025 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.7916, allocations: 129 kB / 1.025 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.7918, allocations: 221.4 kB / 1.025 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.7923, allocations: 336.9 kB / 1.025 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7923, allocations: 0.75 kB / 1.025 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000752/0.793, allocations: 0.4926 MB / 1.026 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.793, allocations: 6.75 kB / 1.026 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7931, allocations: 2.75 kB / 1.026 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.7933, allocations: 95.88 kB / 1.026 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.7936, allocations: 67.81 kB / 1.026 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.7963, allocations: 3.143 MB / 1.029 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.7967, allocations: 56.22 kB / 1.029 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.7968, allocations: 14.47 kB / 1.029 GB, free: 13.52 MB / 0.7325 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.0002583/0.797, allocations: 212.9 kB / 1.029 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.7971, allocations: 55.33 kB / 1.029 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.7972, allocations: 59.2 kB / 1.029 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.7972, allocations: 5.297 kB / 1.029 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.7972, allocations: 0 / 1.029 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006509/0.7978, allocations: 0.5335 MB / 1.03 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.7989, allocations: 0.8908 MB / 1.031 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7989, allocations: 0.9062 kB / 1.031 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.7991, allocations: 43.11 kB / 1.031 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/0.7992, allocations: 66.12 kB / 1.031 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.7993, allocations: 9.062 kB / 1.031 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.8007, allocations: 1.723 MB / 1.032 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8007, allocations: 1.469 kB / 1.032 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.8013, allocations: 441.6 kB / 1.033 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.8014, allocations: 90.94 kB / 1.033 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.8015, allocations: 17.34 kB / 1.033 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.8019, allocations: 16.64 kB / 1.033 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.802, allocations: 24.56 kB / 1.033 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.802, allocations: 9.859 kB / 1.033 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003672/0.8024, allocations: 399.2 kB / 1.033 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8024, allocations: 0 / 1.033 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005897/0.803, allocations: 209 kB / 1.034 GB, free: 11.14 MB / 0.7325 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.0009638/0.8039, allocations: 1.02 MB / 1.035 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00077/0.8047, allocations: 0.5206 MB / 1.035 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8047, allocations: 2.469 kB / 1.035 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.805, allocations: 248.2 kB / 1.035 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.8065, allocations: 366.8 kB / 1.036 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.8116, allocations: 4.483 MB / 1.04 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.8121, allocations: 0.9108 MB / 1.041 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004463/0.8125, allocations: 110.8 kB / 1.041 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.8127, allocations: 190.4 kB / 1.041 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of SimCode: time 7.31e-07/0.8127, allocations: 0.5938 kB / 1.041 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.8578, allocations: 18.19 MB / 1.059 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.53, allocations: 12.41 kB / 1.059 GB, free: 2.07 MB / 0.7325 GB " [Timeout remaining time 646] (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: 17.54099263000535] Failed to read output from testmodel.py, exit status != 0: 13.695629030000418 13.709112195 12.926960523 Calling exit ...