Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001012/0.001012, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 300.6 kB / 291.5 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.9462/0.9462, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 95.84 kB / 0.6821 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.398, allocations: 86.97 MB / 0.7671 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1883/0.5864, allocations: 190.6 MB / 0.9532 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3677/0.9541, allocations: 5.717 MB / 0.9588 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.9553, allocations: 43.5 kB / 0.9588 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.9566, allocations: 0.5805 MB / 0.9594 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.9606, allocations: 1.841 MB / 0.9612 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.9634, allocations: 1.189 MB / 0.9623 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003373/0.9667, allocations: 2.943 MB / 0.9652 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.9679, allocations: 0.9489 MB / 0.9661 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.9694, allocations: 1.073 MB / 0.9672 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.971, allocations: 0.9209 MB / 0.9681 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.9712, allocations: 109 kB / 0.9682 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.9737, allocations: 1.429 MB / 0.9696 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.9741, allocations: 459.5 kB / 0.97 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005916/0.9747, allocations: 0.6544 MB / 0.9707 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.9769, allocations: 2.145 MB / 0.9728 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.9769, allocations: 1 kB / 0.9728 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9769, allocations: 0 / 0.9728 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.9769, allocations: 0 / 0.9728 GB, free: 1.551 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00205/0.979, allocations: 1.515 MB / 0.9742 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.979, allocations: 7.75 kB / 0.9742 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.981, allocations: 315.6 kB / 0.9745 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.9823, allocations: 0.8578 MB / 0.9754 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/0.9824, allocations: 62.88 kB / 0.9754 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.9825, allocations: 82.81 kB / 0.9755 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.984, allocations: 0.9093 MB / 0.9764 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.9841, allocations: 1 kB / 0.9764 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/0.9842, allocations: 38.66 kB / 0.9764 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.9842, allocations: 32.3 kB / 0.9765 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.9855, allocations: 0.8305 MB / 0.9773 GB, free: 16.32 MB / 0.7325 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.004478/0.99, allocations: 3.506 MB / 0.9807 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.9907, allocations: 0.5011 MB / 0.9812 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.9911, allocations: 296.5 kB / 0.9815 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.9913, allocations: 102.9 kB / 0.9816 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.9913, allocations: 42.25 kB / 0.9816 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.003e-06/0.9913, allocations: 3.766 kB / 0.9816 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003473/0.9948, allocations: 1.913 MB / 0.9835 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.9949, allocations: 56.66 kB / 0.9835 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007886/0.9957, allocations: 0.8084 MB / 0.9843 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.9957, allocations: 35.89 kB / 0.9844 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.996, allocations: 474.8 kB / 0.9848 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.9962, allocations: 175 kB / 0.985 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.9964, allocations: 110.2 kB / 0.9851 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9965, allocations: 334.6 kB / 0.9854 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.9969, allocations: 241.8 kB / 0.9856 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.9973, allocations: 356.1 kB / 0.986 GB, free: 13.21 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/1.001, allocations: 1.535 MB / 0.9875 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.001, allocations: 0 / 0.9875 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001136/1.002, allocations: 0.783 MB / 0.9883 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.002, allocations: 7.969 kB / 0.9883 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.002, allocations: 3.188 kB / 0.9883 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/1.002, allocations: 97.5 kB / 0.9884 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/1.003, allocations: 142.8 kB / 0.9885 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/1.006, allocations: 3.3 MB / 0.9917 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/1.006, allocations: 28.61 kB / 0.9917 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/1.007, allocations: 19.44 kB / 0.9918 GB, free: 10.18 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000394/1.007, allocations: 310.2 kB / 0.9921 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/1.007, allocations: 94.12 kB / 0.9921 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/1.007, allocations: 97.52 kB / 0.9922 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009392/1.008, allocations: 0.8397 MB / 0.9931 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.008, allocations: 7.094 kB / 0.9931 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/1.009, allocations: 236.3 kB / 0.9933 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.009, allocations: 10.19 kB / 0.9933 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/1.009, allocations: 27.06 kB / 0.9933 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/1.009, allocations: 32.12 kB / 0.9934 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001621/1.011, allocations: 0.7447 MB / 0.9941 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001305/1.012, allocations: 1.056 MB / 0.9951 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003431/1.013, allocations: 257.9 kB / 0.9954 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005947/1.013, allocations: 0.5548 MB / 0.9959 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of Backend: time 3.01e-07/1.013, allocations: 1 kB / 0.9959 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0022/1.016, allocations: 0.9883 MB / 0.9969 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004051/1.02, allocations: 2.53 MB / 0.9993 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of Templates: time 0.03318/1.053, allocations: 23.15 MB / 1.022 GB, free: 1.375 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)