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.001424/0.001424, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.001301/0.001301, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002506, allocations: 295.5 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 99.83 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4233, allocations: 86.98 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2133/0.6366, allocations: 171.5 MB / 0.9345 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007451/0.6441, allocations: 4.301 MB / 0.9387 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008688/0.645, allocations: 27.81 kB / 0.9387 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.6461, allocations: 377.9 kB / 0.9391 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.6495, allocations: 1.26 MB / 0.9403 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.6517, allocations: 0.8074 MB / 0.9411 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.6542, allocations: 1.7 MB / 0.9428 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007785/0.6549, allocations: 483.5 kB / 0.9432 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.6564, allocations: 0.7144 MB / 0.9439 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.6579, allocations: 0.5565 MB / 0.9445 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.658, allocations: 64 kB / 0.9446 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.66, allocations: 0.799 MB / 0.9453 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.6603, allocations: 283.1 kB / 0.9456 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005265/0.6608, allocations: 398.3 kB / 0.946 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.6629, allocations: 1.269 MB / 0.9472 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6629, allocations: 4 kB / 0.9472 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6629, allocations: 3.938 kB / 0.9472 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.663, allocations: 0 / 0.9472 GB, free: 10.73 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.002047/0.665, allocations: 1.047 MB / 0.9483 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.665, allocations: 12.03 kB / 0.9483 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.6661, allocations: 171.4 kB / 0.9484 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.6671, allocations: 0.5526 MB / 0.949 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.6672, allocations: 41.31 kB / 0.949 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/0.6673, allocations: 52 kB / 0.9491 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.6684, allocations: 0.644 MB / 0.9497 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.6684, allocations: 4 kB / 0.9497 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.6685, allocations: 23.98 kB / 0.9497 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.6686, allocations: 25.31 kB / 0.9497 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009487/0.6695, allocations: 0.5164 MB / 0.9502 GB, free: 7.547 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.003642/0.6731, allocations: 2.298 MB / 0.9525 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/0.6737, allocations: 246.8 kB / 0.9527 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.674, allocations: 120.8 kB / 0.9528 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.674, allocations: 7.938 kB / 0.9528 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.674, allocations: 42.56 kB / 0.9529 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/0.674, allocations: 4 kB / 0.9529 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001851/0.6759, allocations: 0.6652 MB / 0.9535 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.676, allocations: 81.11 kB / 0.9536 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007229/0.6767, allocations: 0.5613 MB / 0.9542 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.6767, allocations: 29.7 kB / 0.9542 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.677, allocations: 339.8 kB / 0.9545 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.199e-05/0.6771, allocations: 79.3 kB / 0.9546 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.6773, allocations: 69.98 kB / 0.9547 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000255/0.6775, allocations: 362.7 kB / 0.955 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.6778, allocations: 128.6 kB / 0.9551 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.6782, allocations: 218.6 kB / 0.9553 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.6788, allocations: 333.6 kB / 0.9556 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6788, allocations: 0 / 0.9556 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001077/0.6799, allocations: 0.4911 MB / 0.9561 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.6799, allocations: 8 kB / 0.9561 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.68, allocations: 4 kB / 0.9561 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.6804, allocations: 93.58 kB / 0.9562 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.6807, allocations: 75.91 kB / 0.9563 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4017/1.082, allocations: 3.328 MB / 0.9596 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/1.083, allocations: 59.67 kB / 0.9596 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/1.083, allocations: 14.95 kB / 0.9596 GB, free: 188.4 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.0004289/1.084, allocations: 219.7 kB / 0.9598 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/1.084, allocations: 55.95 kB / 0.9599 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/1.084, allocations: 55.67 kB / 0.9599 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.084, allocations: 2.406 kB / 0.9599 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.084, allocations: 0.5 kB / 0.9599 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008578/1.085, allocations: 0.537 MB / 0.9605 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/1.086, allocations: 0.9212 MB / 0.9614 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.086, allocations: 4.438 kB / 0.9614 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/1.087, allocations: 39.39 kB / 0.9614 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/1.087, allocations: 62.73 kB / 0.9615 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/1.087, allocations: 6.156 kB / 0.9615 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/1.089, allocations: 1.823 MB / 0.9633 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.089, allocations: 0 / 0.9633 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/1.089, allocations: 436.2 kB / 0.9637 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/1.089, allocations: 168.4 kB / 0.9638 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/1.09, allocations: 11.27 kB / 0.9638 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/1.09, allocations: 26.48 kB / 0.9639 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/1.09, allocations: 23.2 kB / 0.9639 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/1.09, allocations: 12.45 kB / 0.9639 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005031/1.091, allocations: 401.1 kB / 0.9643 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.091, allocations: 0 / 0.9643 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007662/1.091, allocations: 207.6 kB / 0.9645 GB, free: 185.1 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.0004472/1.092, allocations: 175 kB / 0.9646 GB, free: 185 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001069/1.093, allocations: 0.5219 MB / 0.9652 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.093, allocations: 1.156 kB / 0.9652 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/1.093, allocations: 243.1 kB / 0.9654 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/1.095, allocations: 369.5 kB / 0.9657 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/1.096, allocations: 0.9966 MB / 0.9667 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/1.097, allocations: 0.9144 MB / 0.9676 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000451/1.097, allocations: 104.5 kB / 0.9677 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/1.097, allocations: 38.62 kB / 0.9677 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/1.097, allocations: 0 / 0.9677 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.0232/1.121, allocations: 13.18 MB / 0.9806 GB, free: 174.2 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)