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.001442/0.001442, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001657/0.001657, allocations: 198 kB / 17.3 MB, free: 5.883 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 286.7 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 99.77 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1727, allocations: 86.97 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4652/0.6379, allocations: 171 MB / 0.8486 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006273/0.6443, allocations: 4.281 MB / 0.8527 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.6449, allocations: 23.88 kB / 0.8528 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009568/0.6458, allocations: 346 kB / 0.8531 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.6482, allocations: 1.003 MB / 0.8541 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.6502, allocations: 0.8123 MB / 0.8549 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.6518, allocations: 1.294 MB / 0.8561 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006183/0.6525, allocations: 479.3 kB / 0.8566 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.6537, allocations: 0.6797 MB / 0.8573 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009685/0.6547, allocations: 455 kB / 0.8577 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.434e-05/0.6548, allocations: 52 kB / 0.8577 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.6563, allocations: 0.9121 MB / 0.8586 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.6565, allocations: 211.4 kB / 0.8588 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.6569, allocations: 330.5 kB / 0.8591 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.6583, allocations: 1.13 MB / 0.8602 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6584, allocations: 0 / 0.8602 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.925e-06/0.6584, allocations: 0 / 0.8602 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.6584, allocations: 7.938 kB / 0.8603 GB, free: 7.547 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.001572/0.66, allocations: 0.9434 MB / 0.8612 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.66, allocations: 8.031 kB / 0.8612 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.6616, allocations: 259 kB / 0.8614 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008755/0.6625, allocations: 0.4974 MB / 0.8619 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.6626, allocations: 32.94 kB / 0.8619 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.392e-05/0.6627, allocations: 47.98 kB / 0.862 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.6639, allocations: 0.6068 MB / 0.8626 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.6639, allocations: 4 kB / 0.8626 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.664, allocations: 16 kB / 0.8626 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.664, allocations: 21.86 kB / 0.8626 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.6654, allocations: 0.5464 MB / 0.8632 GB, free: 4.461 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.00402/0.6694, allocations: 2.257 MB / 0.8654 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/0.6703, allocations: 278.3 kB / 0.8656 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.6708, allocations: 164.7 kB / 0.8658 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.6709, allocations: 8.203 kB / 0.8658 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.6709, allocations: 50.38 kB / 0.8658 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=11): time 1.664e-06/0.6709, allocations: 0 / 0.8658 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.005015/0.676, allocations: 1.085 MB / 0.8669 GB, free: 456 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.676, allocations: 77.11 kB / 0.867 GB, free: 360 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.6766, allocations: 0.5534 MB / 0.8675 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.6767, allocations: 29.7 kB / 0.8675 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.6769, allocations: 299.5 kB / 0.8678 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.6769, allocations: 43.45 kB / 0.8679 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.677, allocations: 62.11 kB / 0.8679 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6772, allocations: 366.7 kB / 0.8683 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.6778, allocations: 187.8 kB / 0.8685 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.6784, allocations: 277.1 kB / 0.8687 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.6794, allocations: 406.9 kB / 0.8691 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6794, allocations: 0 / 0.8691 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002559/0.682, allocations: 0.7283 MB / 0.8698 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.682, allocations: 10.03 kB / 0.8698 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.682, allocations: 0 / 0.8698 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.6827, allocations: 188.7 kB / 0.87 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.683, allocations: 67.94 kB / 0.8701 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.6868, allocations: 2.236 MB / 0.8723 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.6874, allocations: 75.48 kB / 0.8723 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.6874, allocations: 13.55 kB / 0.8723 GB, free: 10.62 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.0002289/0.6877, allocations: 187.1 kB / 0.8725 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6878, allocations: 47.44 kB / 0.8726 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.109e-05/0.6879, allocations: 55.97 kB / 0.8726 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6879, allocations: 3.938 kB / 0.8726 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.6879, allocations: 4 kB / 0.8726 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6879, allocations: 0 / 0.8726 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/0.6909, allocations: 1.133 MB / 0.8737 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6909, allocations: 0 / 0.8737 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.6912, allocations: 35.95 kB / 0.8738 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005159/0.6917, allocations: 188.7 kB / 0.874 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.6917, allocations: 4 kB / 0.874 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/0.6951, allocations: 2.177 MB / 0.8761 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6952, allocations: 3.938 kB / 0.8761 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/0.6976, allocations: 0.7078 MB / 0.8768 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.6978, allocations: 172.4 kB / 0.8769 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/0.6979, allocations: 4.094 kB / 0.8769 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.6985, allocations: 55.88 kB / 0.877 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.6986, allocations: 15.92 kB / 0.877 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.6986, allocations: 11.98 kB / 0.877 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004183/0.699, allocations: 390.8 kB / 0.8774 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.699, allocations: 0 / 0.8774 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006005/0.6997, allocations: 183.8 kB / 0.8776 GB, free: 5.004 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.0003678/0.7, allocations: 174.4 kB / 0.8777 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.7015, allocations: 0.5256 MB / 0.8783 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7015, allocations: 0 / 0.8783 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.7022, allocations: 303 kB / 0.8785 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.7034, allocations: 301.4 kB / 0.8788 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.7063, allocations: 1.072 MB / 0.8799 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.7066, allocations: 0.8621 MB / 0.8807 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003408/0.707, allocations: 104.5 kB / 0.8808 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-05/0.7071, allocations: 39.44 kB / 0.8809 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.7071, allocations: 0 / 0.8809 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of Templates: time 0.01811/0.7252, allocations: 12.4 MB / 0.893 GB, free: 5.371 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)