Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.201/3.201, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 179.8 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000933/0.0009329, allocations: 77.88 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004712, allocations: 10.69 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2148, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 1.006/1.22, allocations: 155.4 MB / 1.13 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008274/1.229, allocations: 3.998 MB / 1.134 GB, free: 68 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/1.23, allocations: 13.62 kB / 1.134 GB, free: 64 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/1.231, allocations: 231 kB / 1.134 GB, free: 15.97 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003427/1.235, allocations: 0.7427 MB / 1.135 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/1.238, allocations: 0.5987 MB / 1.136 GB, free: 15.49 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002945/1.241, allocations: 1.516 MB / 1.137 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008833/1.242, allocations: 360.3 kB / 1.137 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/1.244, allocations: 0.5493 MB / 1.138 GB, free: 15.01 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/1.245, allocations: 434.8 kB / 1.138 GB, free: 14.9 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/1.245, allocations: 21.91 kB / 1.138 GB, free: 14.9 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/1.248, allocations: 0.6159 MB / 1.139 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004704/1.248, allocations: 180 kB / 1.139 GB, free: 14.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003288/1.248, allocations: 138 kB / 1.139 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/1.25, allocations: 0.7963 MB / 1.14 GB, free: 14.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.026e-06/1.251, allocations: 0 / 1.14 GB, free: 14.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.497e-06/1.251, allocations: 0 / 1.14 GB, free: 14.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.055e-05/1.251, allocations: 4 kB / 1.14 GB, free: 14.65 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002804/1.253, allocations: 0.8481 MB / 1.141 GB, free: 14.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.253, allocations: 13.67 kB / 1.141 GB, free: 14.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/1.256, allocations: 278.7 kB / 1.141 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/1.258, allocations: 475.3 kB / 1.142 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006369/1.259, allocations: 93.17 kB / 1.142 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/1.259, allocations: 46.5 kB / 1.142 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/1.261, allocations: 0.6342 MB / 1.142 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/1.261, allocations: 3.953 kB / 1.142 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.262, allocations: 19.44 kB / 1.142 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/1.262, allocations: 19.3 kB / 1.142 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/1.264, allocations: 0.586 MB / 1.143 GB, free: 13.61 MB / 0.698 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.007514/1.272, allocations: 2.307 MB / 1.145 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/1.274, allocations: 318.5 kB / 1.145 GB, free: 12.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/1.275, allocations: 186.2 kB / 1.146 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/1.275, allocations: 8 kB / 1.146 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/1.275, allocations: 36.78 kB / 1.146 GB, free: 12.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 3.477e-06/1.275, allocations: 0 / 1.146 GB, free: 12.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.009844/1.285, allocations: 1.186 MB / 1.147 GB, free: 11.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/1.285, allocations: 78.11 kB / 1.147 GB, free: 11.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.286, allocations: 0.548 MB / 1.147 GB, free: 11.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/1.286, allocations: 30.45 kB / 1.147 GB, free: 11.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/1.287, allocations: 296 kB / 1.148 GB, free: 11.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/1.287, allocations: 39.73 kB / 1.148 GB, free: 11.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/1.287, allocations: 3.312 kB / 1.148 GB, free: 11.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.287, allocations: 359.7 kB / 1.148 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/1.288, allocations: 215.3 kB / 1.148 GB, free: 10.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/1.29, allocations: 294.3 kB / 1.149 GB, free: 10.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/1.291, allocations: 223.4 kB / 1.149 GB, free: 10.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.291, allocations: 0 / 1.149 GB, free: 10.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.005199/1.296, allocations: 0.7826 MB / 1.15 GB, free: 10.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.296, allocations: 6.562 kB / 1.15 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.296, allocations: 2.281 kB / 1.15 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/1.297, allocations: 194.1 kB / 1.15 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/1.298, allocations: 80.56 kB / 1.15 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007489/1.305, allocations: 2.201 MB / 1.152 GB, free: 8.535 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.307, allocations: 86.48 kB / 1.152 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/1.307, allocations: 20.84 kB / 1.152 GB, free: 8.484 MB / 0.698 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004169/1.307, allocations: 187 kB / 1.152 GB, free: 8.363 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/1.307, allocations: 49.8 kB / 1.152 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/1.308, allocations: 54.92 kB / 1.152 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/1.308, allocations: 2.031 kB / 1.152 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.308, allocations: 3.938 kB / 1.152 GB, free: 8.316 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.308, allocations: 5.281 kB / 1.152 GB, free: 8.312 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005765/1.313, allocations: 1.189 MB / 1.154 GB, free: 7.688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/1.313, allocations: 0 / 1.154 GB, free: 7.688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/1.314, allocations: 52.23 kB / 1.154 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009713/1.315, allocations: 194.4 kB / 1.154 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/1.315, allocations: 2.188 kB / 1.154 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00599/1.321, allocations: 2.055 MB / 1.156 GB, free: 6.105 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.321, allocations: 3.016 kB / 1.156 GB, free: 6.105 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/1.326, allocations: 0.7523 MB / 1.157 GB, free: 5.754 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/1.327, allocations: 168.9 kB / 1.157 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.327, allocations: 3.25 kB / 1.157 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.328, allocations: 79.41 kB / 1.157 GB, free: 5.582 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/1.328, allocations: 20.09 kB / 1.157 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/1.328, allocations: 11.64 kB / 1.157 GB, free: 5.566 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007324/1.329, allocations: 386.6 kB / 1.157 GB, free: 5.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.329, allocations: 0 / 1.157 GB, free: 5.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001096/1.33, allocations: 181.2 kB / 1.157 GB, free: 5.414 MB / 0.698 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005528/1.33, allocations: 174.1 kB / 1.158 GB, free: 5.297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003955/1.334, allocations: 0.6384 MB / 1.158 GB, free: 5.039 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.334, allocations: 3.656 kB / 1.158 GB, free: 5.039 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/1.336, allocations: 325.3 kB / 1.158 GB, free: 4.863 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/1.339, allocations: 295.7 kB / 1.159 GB, free: 4.766 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/1.344, allocations: 1.262 MB / 1.16 GB, free: 4.043 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/1.345, allocations: 0.8574 MB / 1.161 GB, free: 3.273 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008856/1.346, allocations: 107.4 kB / 1.161 GB, free: 3.223 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/1.346, allocations: 38.14 kB / 1.161 GB, free: 3.215 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.346, allocations: 1.859 kB / 1.161 GB, free: 3.215 MB / 0.698 GB Notification: Performance of Templates: time 0.03113/1.377, allocations: 11.35 MB / 1.172 GB, free: 13.53 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)