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.001153/0.001153, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.0009577/0.0009577, allocations: 192.4 kB / 17.3 MB, free: 5.613 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002227/0.002227, allocations: 292.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9105/0.9105, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 95.5 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1537, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4695/0.6233, allocations: 171 MB / 0.8486 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005883/0.6292, allocations: 4.282 MB / 0.8528 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.6298, allocations: 23.88 kB / 0.8528 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.6307, allocations: 354 kB / 0.8531 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.6328, allocations: 0.9954 MB / 0.8541 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.6346, allocations: 0.8117 MB / 0.8549 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.6359, allocations: 1.29 MB / 0.8561 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005454/0.6364, allocations: 483.3 kB / 0.8566 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009872/0.6374, allocations: 0.6758 MB / 0.8573 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008895/0.6383, allocations: 453.1 kB / 0.8577 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.953e-05/0.6384, allocations: 52 kB / 0.8577 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.6397, allocations: 0.9121 MB / 0.8586 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.6399, allocations: 211.4 kB / 0.8588 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.6402, allocations: 326.5 kB / 0.8591 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.6414, allocations: 1.134 MB / 0.8603 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6414, allocations: 0 / 0.8603 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6414, allocations: 0 / 0.8603 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.6414, allocations: 0 / 0.8603 GB, free: 7.469 MB / 0.6231 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.001422/0.6429, allocations: 0.9602 MB / 0.8612 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.6429, allocations: 8.031 kB / 0.8612 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.6445, allocations: 263 kB / 0.8614 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008174/0.6453, allocations: 0.4897 MB / 0.8619 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.6453, allocations: 36.94 kB / 0.862 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.6454, allocations: 40 kB / 0.862 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.6466, allocations: 0.6099 MB / 0.8626 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6466, allocations: 3.938 kB / 0.8626 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.6466, allocations: 24 kB / 0.8626 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.6467, allocations: 17 kB / 0.8626 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.648, allocations: 0.5464 MB / 0.8632 GB, free: 4.371 MB / 0.6231 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.003633/0.6516, allocations: 2.264 MB / 0.8654 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008228/0.6524, allocations: 274.4 kB / 0.8656 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.6529, allocations: 172.7 kB / 0.8658 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.653, allocations: 0 / 0.8658 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.653, allocations: 42.5 kB / 0.8659 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.653, allocations: 0 / 0.8659 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.004735/0.6578, allocations: 1.089 MB / 0.8669 GB, free: 364 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.6578, allocations: 85.05 kB / 0.867 GB, free: 260 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/0.6584, allocations: 0.5534 MB / 0.8675 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.6585, allocations: 29.7 kB / 0.8676 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.6587, allocations: 299.5 kB / 0.8678 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.6587, allocations: 39.44 kB / 0.8679 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.6588, allocations: 66.09 kB / 0.868 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6589, allocations: 362.7 kB / 0.8683 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/0.6595, allocations: 191.8 kB / 0.8685 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.66, allocations: 265.3 kB / 0.8687 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.661, allocations: 401.5 kB / 0.8691 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.661, allocations: 0 / 0.8691 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002387/0.6634, allocations: 0.7246 MB / 0.8698 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6635, allocations: 12.09 kB / 0.8698 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6635, allocations: 4 kB / 0.8698 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/0.6641, allocations: 184.7 kB / 0.87 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.6644, allocations: 71.89 kB / 0.8701 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/0.668, allocations: 2.238 MB / 0.8723 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.6686, allocations: 75.42 kB / 0.8723 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.6686, allocations: 17.55 kB / 0.8724 GB, free: 10.53 MB / 0.6387 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.0002319/0.6688, allocations: 193.8 kB / 0.8725 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.6689, allocations: 47.44 kB / 0.8726 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.682e-05/0.669, allocations: 52.03 kB / 0.8726 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.669, allocations: 3.938 kB / 0.8726 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.669, allocations: 0 / 0.8726 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.669, allocations: 0 / 0.8726 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.6718, allocations: 1.14 MB / 0.8738 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6718, allocations: 0 / 0.8738 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.672, allocations: 43.95 kB / 0.8738 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/0.6725, allocations: 180.7 kB / 0.874 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.6726, allocations: 9.875 kB / 0.874 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/0.6758, allocations: 2.176 MB / 0.8761 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6758, allocations: 0.875 kB / 0.8761 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.6781, allocations: 0.7039 MB / 0.8768 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.6783, allocations: 176.4 kB / 0.877 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.6784, allocations: 0 / 0.877 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.6789, allocations: 47.94 kB / 0.877 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.679, allocations: 19.86 kB / 0.877 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.6791, allocations: 15.98 kB / 0.877 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003955/0.6795, allocations: 398.8 kB / 0.8774 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6795, allocations: 0 / 0.8774 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005694/0.68, allocations: 179.8 kB / 0.8776 GB, free: 4.906 MB / 0.6387 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.0003489/0.6804, allocations: 181 kB / 0.8778 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.6818, allocations: 0.514 MB / 0.8783 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6818, allocations: 4.375 kB / 0.8783 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.6824, allocations: 302.6 kB / 0.8786 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.6836, allocations: 299.5 kB / 0.8788 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.6864, allocations: 1.068 MB / 0.8799 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.6869, allocations: 0.8621 MB / 0.8807 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003389/0.6872, allocations: 100.5 kB / 0.8808 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.6873, allocations: 35.44 kB / 0.8809 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.6873, allocations: 0 / 0.8809 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of Templates: time 0.02094/0.7083, allocations: 12.41 MB / 0.893 GB, free: 5.273 MB / 0.6544 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)