Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009029/0.0009029, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005981/0.005981, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 270.9 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9544/0.9544, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004509, allocations: 20.34 kB / 0.5986 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1895, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5315/0.721, allocations: 166.5 MB / 0.8477 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00641/0.7274, allocations: 4.285 MB / 0.8519 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000714/0.7282, allocations: 25.91 kB / 0.8519 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009412/0.7291, allocations: 297.2 kB / 0.8522 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.7314, allocations: 0.9373 MB / 0.8531 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.7332, allocations: 0.7346 MB / 0.8539 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001803/0.735, allocations: 1.793 MB / 0.8556 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.7355, allocations: 398.8 kB / 0.856 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.7365, allocations: 0.58 MB / 0.8566 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009202/0.7375, allocations: 462.4 kB / 0.857 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.7375, allocations: 26.25 kB / 0.857 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.739, allocations: 1.003 MB / 0.858 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.7392, allocations: 174.4 kB / 0.8582 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.7395, allocations: 324.9 kB / 0.8585 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.7407, allocations: 1.124 MB / 0.8596 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7407, allocations: 0 / 0.8596 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.946e-06/0.7407, allocations: 3.984 kB / 0.8596 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.7408, allocations: 2.875 kB / 0.8596 GB, free: 8.129 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001395/0.7422, allocations: 0.8409 MB / 0.8604 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.7422, allocations: 10.84 kB / 0.8604 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.7438, allocations: 283.1 kB / 0.8607 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.7446, allocations: 486.1 kB / 0.8612 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.745, allocations: 105.5 kB / 0.8613 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.745, allocations: 36.69 kB / 0.8613 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.7463, allocations: 0.6411 MB / 0.8619 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.7463, allocations: 0 / 0.8619 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.576e-05/0.7463, allocations: 17.81 kB / 0.8619 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.7464, allocations: 21.64 kB / 0.8619 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.7478, allocations: 0.5881 MB / 0.8625 GB, free: 6.172 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.003823/0.7517, allocations: 2.298 MB / 0.8648 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/0.7527, allocations: 313.5 kB / 0.8651 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/0.7533, allocations: 193.1 kB / 0.8653 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.7533, allocations: 7.922 kB / 0.8653 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.7533, allocations: 40.75 kB / 0.8653 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.7533, allocations: 0 / 0.8653 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005178/0.7585, allocations: 1.184 MB / 0.8665 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.7586, allocations: 77.11 kB / 0.8665 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.7592, allocations: 0.5566 MB / 0.8671 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.7592, allocations: 32.61 kB / 0.8671 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.7595, allocations: 304.1 kB / 0.8674 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.7596, allocations: 41.2 kB / 0.8674 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.7596, allocations: 26.83 kB / 0.8675 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7598, allocations: 349.6 kB / 0.8678 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/0.7604, allocations: 212.1 kB / 0.868 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.7612, allocations: 292.2 kB / 0.8683 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.7625, allocations: 451.2 kB / 0.8687 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7625, allocations: 2.812 kB / 0.8687 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002808/0.7653, allocations: 0.7778 MB / 0.8695 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.7653, allocations: 9.188 kB / 0.8695 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.7653, allocations: 2.906 kB / 0.8695 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007243/0.7661, allocations: 195.7 kB / 0.8697 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.7665, allocations: 79 kB / 0.8697 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.7706, allocations: 2.121 MB / 0.8718 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007503/0.7714, allocations: 99.25 kB / 0.8719 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.7714, allocations: 10.88 kB / 0.8719 GB, free: 15.42 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.7717, allocations: 187.8 kB / 0.8721 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/0.7718, allocations: 50.22 kB / 0.8721 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.772, allocations: 52.81 kB / 0.8722 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.772, allocations: 2.938 kB / 0.8722 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.772, allocations: 3.938 kB / 0.8722 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.772, allocations: 3.938 kB / 0.8722 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.7752, allocations: 1.188 MB / 0.8734 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.7752, allocations: 0 / 0.8734 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.7755, allocations: 46.8 kB / 0.8734 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000633/0.7761, allocations: 184.4 kB / 0.8736 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.7762, allocations: 6.906 kB / 0.8736 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003809/0.78, allocations: 2.071 MB / 0.8756 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.78, allocations: 0 / 0.8756 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.7829, allocations: 0.7588 MB / 0.8764 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.7831, allocations: 160.5 kB / 0.8765 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.7832, allocations: 11.94 kB / 0.8765 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.7838, allocations: 72.86 kB / 0.8766 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.7839, allocations: 15.92 kB / 0.8766 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.784, allocations: 11.98 kB / 0.8766 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004939/0.7845, allocations: 394.8 kB / 0.877 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7845, allocations: 0 / 0.877 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007132/0.7852, allocations: 183.7 kB / 0.8772 GB, free: 10.54 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00045/0.7857, allocations: 175.3 kB / 0.8773 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.7874, allocations: 0.5553 MB / 0.8779 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7875, allocations: 0 / 0.8779 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008141/0.7883, allocations: 330.9 kB / 0.8782 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.79, allocations: 301.9 kB / 0.8785 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.7931, allocations: 1.284 MB / 0.8797 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.7936, allocations: 0.8626 MB / 0.8806 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005109/0.7941, allocations: 104.4 kB / 0.8807 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.7942, allocations: 39.44 kB / 0.8807 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.7942, allocations: 0 / 0.8807 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.01932/0.8135, allocations: 11.8 MB / 0.8922 GB, free: 11.21 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)