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.001034/0.001038, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001136/0.001136, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002174, allocations: 287.6 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9697/0.9697, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 92.89 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.171, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5478/0.7189, allocations: 168.7 MB / 0.8444 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006702/0.7257, allocations: 4.269 MB / 0.8486 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009819/0.7267, allocations: 20.81 kB / 0.8486 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.7278, allocations: 323.2 kB / 0.8489 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.7312, allocations: 1.14 MB / 0.85 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.7332, allocations: 0.7309 MB / 0.8507 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.7352, allocations: 1.69 MB / 0.8524 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006738/0.7359, allocations: 0.5539 MB / 0.8529 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.7369, allocations: 0.6843 MB / 0.8536 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.738, allocations: 0.5969 MB / 0.8542 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.7381, allocations: 67.78 kB / 0.8542 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.7396, allocations: 0.8305 MB / 0.8551 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.7399, allocations: 272.3 kB / 0.8553 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003656/0.7403, allocations: 408.3 kB / 0.8557 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.7418, allocations: 1.318 MB / 0.857 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7418, allocations: 8 kB / 0.857 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7418, allocations: 0 / 0.857 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.7418, allocations: 0 / 0.857 GB, free: 9.109 MB / 0.5762 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.00175/0.7436, allocations: 1.035 MB / 0.858 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.7436, allocations: 10.44 kB / 0.858 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.7446, allocations: 161.6 kB / 0.8582 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.7454, allocations: 0.518 MB / 0.8587 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.7454, allocations: 45.38 kB / 0.8587 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.7455, allocations: 55.05 kB / 0.8588 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.7465, allocations: 0.6481 MB / 0.8594 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.7466, allocations: 3.984 kB / 0.8594 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.7466, allocations: 23.5 kB / 0.8594 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.7467, allocations: 21.69 kB / 0.8595 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008535/0.7475, allocations: 0.5176 MB / 0.86 GB, free: 7.082 MB / 0.5762 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.003092/0.7506, allocations: 2.301 MB / 0.8622 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.7511, allocations: 260.4 kB / 0.8625 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.7514, allocations: 132.3 kB / 0.8626 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.7514, allocations: 3.062 kB / 0.8626 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.7515, allocations: 41.22 kB / 0.8626 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.7515, allocations: 4 kB / 0.8626 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001623/0.7531, allocations: 0.6627 MB / 0.8633 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.7532, allocations: 79.67 kB / 0.8634 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/0.7538, allocations: 0.5602 MB / 0.8639 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.7538, allocations: 32.39 kB / 0.8639 GB, free: 4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.7541, allocations: 338.3 kB / 0.8643 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.7541, allocations: 67.52 kB / 0.8643 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.7543, allocations: 67.44 kB / 0.8644 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7544, allocations: 363.3 kB / 0.8647 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.7547, allocations: 131.9 kB / 0.8649 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.755, allocations: 225.2 kB / 0.8651 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.7555, allocations: 330.9 kB / 0.8654 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7555, allocations: 0 / 0.8654 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008517/0.7564, allocations: 498.6 kB / 0.8659 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.7564, allocations: 15.95 kB / 0.8659 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.7564, allocations: 2.656 kB / 0.8659 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/0.7567, allocations: 94.56 kB / 0.866 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.7571, allocations: 67.62 kB / 0.866 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.76, allocations: 3.361 MB / 0.8693 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.7606, allocations: 70.12 kB / 0.8694 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.7607, allocations: 18.09 kB / 0.8694 GB, free: 15.18 MB / 0.5919 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.0003552/0.761, allocations: 216.4 kB / 0.8696 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.7611, allocations: 54.81 kB / 0.8697 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-05/0.7612, allocations: 53.5 kB / 0.8697 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7612, allocations: 2.531 kB / 0.8697 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7612, allocations: 0 / 0.8697 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000708/0.7619, allocations: 0.5416 MB / 0.8702 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.7632, allocations: 0.9104 MB / 0.8711 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7632, allocations: 2.875 kB / 0.8711 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.7634, allocations: 45.88 kB / 0.8712 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.7636, allocations: 61.47 kB / 0.8712 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.7636, allocations: 6.469 kB / 0.8712 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.7653, allocations: 1.818 MB / 0.873 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7653, allocations: 2.469 kB / 0.873 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.766, allocations: 439.3 kB / 0.8734 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.7663, allocations: 168 kB / 0.8736 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.7663, allocations: 8.125 kB / 0.8736 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.7668, allocations: 37.28 kB / 0.8736 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.7669, allocations: 23.09 kB / 0.8737 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.767, allocations: 18.7 kB / 0.8737 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004492/0.7674, allocations: 397.5 kB / 0.8741 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.22e-07/0.7674, allocations: 0 / 0.8741 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000697/0.7682, allocations: 211.2 kB / 0.8743 GB, free: 11.24 MB / 0.5919 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.0004031/0.7686, allocations: 155.8 kB / 0.8744 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009878/0.7696, allocations: 0.5527 MB / 0.8749 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.7696, allocations: 6.531 kB / 0.875 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.77, allocations: 252.3 kB / 0.8752 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.7717, allocations: 383.4 kB / 0.8756 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.7742, allocations: 1.199 MB / 0.8767 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.7749, allocations: 0.9085 MB / 0.8776 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006122/0.7755, allocations: 109.3 kB / 0.8777 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.7756, allocations: 37.81 kB / 0.8778 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.7756, allocations: 0 / 0.8778 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of Templates: time 0.02395/0.7996, allocations: 12.88 MB / 0.8903 GB, free: 15.28 MB / 0.6075 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)