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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00456/0.00456, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 195.3 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002352/0.002352, allocations: 290 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9268/0.9268, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 95.84 kB / 0.6814 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4155, allocations: 86.97 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1742/0.5897, allocations: 171.1 MB / 0.9334 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006184/0.596, allocations: 4.301 MB / 0.9376 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007445/0.5967, allocations: 23.88 kB / 0.9376 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.5979, allocations: 353.9 kB / 0.938 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.6012, allocations: 1.225 MB / 0.9392 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.6032, allocations: 0.7969 MB / 0.9399 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00222/0.6054, allocations: 1.691 MB / 0.9416 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007247/0.6061, allocations: 0.562 MB / 0.9421 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.6072, allocations: 0.6874 MB / 0.9428 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.6084, allocations: 0.5512 MB / 0.9433 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.864e-05/0.6085, allocations: 68 kB / 0.9434 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.6101, allocations: 0.8029 MB / 0.9442 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.6103, allocations: 263.3 kB / 0.9444 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.6107, allocations: 410.2 kB / 0.9448 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.6122, allocations: 1.266 MB / 0.9461 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6122, allocations: 0 / 0.9461 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6123, allocations: 0 / 0.9461 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.6123, allocations: 0 / 0.9461 GB, free: 11.18 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.001681/0.614, allocations: 1.036 MB / 0.9471 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.614, allocations: 12.03 kB / 0.9471 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.615, allocations: 167 kB / 0.9473 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/0.6158, allocations: 0.5444 MB / 0.9478 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.6159, allocations: 37.31 kB / 0.9478 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.6159, allocations: 55.98 kB / 0.9479 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.617, allocations: 0.6518 MB / 0.9485 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.6171, allocations: 0 / 0.9485 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.6171, allocations: 27.94 kB / 0.9485 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.6172, allocations: 21.31 kB / 0.9486 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009143/0.6181, allocations: 0.5126 MB / 0.9491 GB, free: 8.02 MB / 0.7169 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.003256/0.6214, allocations: 2.297 MB / 0.9513 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.6219, allocations: 254.8 kB / 0.9516 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.6221, allocations: 136.8 kB / 0.9517 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.6222, allocations: 7.938 kB / 0.9517 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.6222, allocations: 38.56 kB / 0.9517 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/0.6222, allocations: 0 / 0.9517 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001624/0.6238, allocations: 0.6708 MB / 0.9524 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.6239, allocations: 81.11 kB / 0.9525 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.6245, allocations: 0.5612 MB / 0.953 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.6246, allocations: 33.7 kB / 0.953 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.6248, allocations: 335.1 kB / 0.9534 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.6249, allocations: 74.94 kB / 0.9534 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.625, allocations: 69.94 kB / 0.9535 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6252, allocations: 362.7 kB / 0.9538 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.6254, allocations: 128.6 kB / 0.954 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.6258, allocations: 214.7 kB / 0.9542 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.6263, allocations: 325.7 kB / 0.9545 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6263, allocations: 0 / 0.9545 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008929/0.6272, allocations: 0.4945 MB / 0.955 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.6272, allocations: 8 kB / 0.955 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6272, allocations: 0 / 0.955 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003136/0.6276, allocations: 97.92 kB / 0.9551 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.6279, allocations: 71.91 kB / 0.9551 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3809/1.009, allocations: 3.327 MB / 0.9584 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006118/1.009, allocations: 52.36 kB / 0.9584 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/1.01, allocations: 14.5 kB / 0.9584 GB, free: 188.6 MB / 0.7169 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.0004076/1.01, allocations: 225.7 kB / 0.9587 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/1.01, allocations: 53.34 kB / 0.9587 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/1.01, allocations: 60.19 kB / 0.9588 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.01, allocations: 2.031 kB / 0.9588 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.01, allocations: 1.094 kB / 0.9588 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008337/1.011, allocations: 0.5288 MB / 0.9593 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/1.013, allocations: 0.9201 MB / 0.9602 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.013, allocations: 0.5 kB / 0.9602 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/1.013, allocations: 44.17 kB / 0.9602 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002424/1.013, allocations: 66.66 kB / 0.9603 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/1.013, allocations: 2.516 kB / 0.9603 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/1.015, allocations: 1.82 MB / 0.9621 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.015, allocations: 7.031 kB / 0.9621 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006657/1.016, allocations: 447 kB / 0.9625 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/1.016, allocations: 165.9 kB / 0.9627 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/1.016, allocations: 12.02 kB / 0.9627 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/1.016, allocations: 19.36 kB / 0.9627 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/1.016, allocations: 18.41 kB / 0.9627 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/1.016, allocations: 16.73 kB / 0.9627 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004903/1.017, allocations: 400.6 kB / 0.9631 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.017, allocations: 0 / 0.9631 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006783/1.018, allocations: 200.7 kB / 0.9633 GB, free: 185.3 MB / 0.7169 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.0003621/1.018, allocations: 167.3 kB / 0.9635 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008555/1.019, allocations: 0.536 MB / 0.964 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.019, allocations: 1.156 kB / 0.964 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/1.019, allocations: 249.2 kB / 0.9642 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/1.021, allocations: 380.2 kB / 0.9646 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/1.022, allocations: 0.9765 MB / 0.9655 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/1.023, allocations: 0.9108 MB / 0.9664 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003773/1.023, allocations: 110 kB / 0.9665 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/1.023, allocations: 39 kB / 0.9666 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/1.023, allocations: 0 / 0.9666 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01741/1.041, allocations: 13.33 MB / 0.9796 GB, free: 174.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)