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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8164/0.8164, allocations: 143.4 MB / 159.2 MB, free: 4.887 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001315, allocations: 188.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 111.7 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 282.1 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 79.89 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3514, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5546/0.906, allocations: 188.3 MB / 0.9518 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009401/0.9155, allocations: 5.757 MB / 0.9574 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.9172, allocations: 36.84 kB / 0.9575 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.9187, allocations: 0.5048 MB / 0.958 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004244/0.9229, allocations: 1.723 MB / 0.9596 GB, free: 15.74 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.9257, allocations: 1.074 MB / 0.9607 GB, free: 15.7 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00473/0.9305, allocations: 4.077 MB / 0.9647 GB, free: 15.69 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.9317, allocations: 0.7994 MB / 0.9655 GB, free: 15.58 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.9333, allocations: 0.9119 MB / 0.9663 GB, free: 15.55 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.9353, allocations: 0.9479 MB / 0.9673 GB, free: 15.41 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.9355, allocations: 53.44 kB / 0.9673 GB, free: 15.41 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.9387, allocations: 1.63 MB / 0.9689 GB, free: 15.4 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005717/0.9392, allocations: 400.7 kB / 0.9693 GB, free: 15.31 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007675/0.94, allocations: 0.5922 MB / 0.9699 GB, free: 15.01 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.943, allocations: 2.173 MB / 0.972 GB, free: 13.97 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.943, allocations: 0 / 0.972 GB, free: 13.97 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.82e-07/0.943, allocations: 4 kB / 0.972 GB, free: 13.97 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.943, allocations: 3.938 kB / 0.972 GB, free: 13.96 MB / 0.573 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.002457/0.9455, allocations: 1.507 MB / 0.9735 GB, free: 12.85 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.9455, allocations: 11.34 kB / 0.9735 GB, free: 12.85 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.9473, allocations: 307.2 kB / 0.9738 GB, free: 12.72 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.9486, allocations: 0.8023 MB / 0.9746 GB, free: 12.13 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.9487, allocations: 68.53 kB / 0.9746 GB, free: 12.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.9488, allocations: 85.06 kB / 0.9747 GB, free: 12.07 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.9502, allocations: 0.9143 MB / 0.9756 GB, free: 11.55 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.9503, allocations: 0 / 0.9756 GB, free: 11.55 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.9504, allocations: 39 kB / 0.9756 GB, free: 11.53 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.9504, allocations: 39.92 kB / 0.9757 GB, free: 11.52 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.9518, allocations: 0.8183 MB / 0.9765 GB, free: 11.12 MB / 0.573 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.005276/0.957, allocations: 3.527 MB / 0.9799 GB, free: 8.422 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007925/0.9579, allocations: 0.4939 MB / 0.9804 GB, free: 8.152 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.9583, allocations: 301.2 kB / 0.9807 GB, free: 8.004 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.9585, allocations: 98.62 kB / 0.9808 GB, free: 7.906 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.9585, allocations: 44.44 kB / 0.9808 GB, free: 7.859 MB / 0.573 GB Notification: Performance of pre-optimization done (n=47): time 1.783e-06/0.9586, allocations: 0 / 0.9808 GB, free: 7.859 MB / 0.573 GB Notification: Performance of matching and sorting (n=49): time 0.003891/0.9625, allocations: 1.915 MB / 0.9827 GB, free: 6.598 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.9625, allocations: 57.09 kB / 0.9827 GB, free: 6.535 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.9636, allocations: 0.7987 MB / 0.9835 GB, free: 6.086 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.9637, allocations: 41.02 kB / 0.9836 GB, free: 6.047 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.9641, allocations: 469.3 kB / 0.984 GB, free: 5.637 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.9642, allocations: 174.9 kB / 0.9842 GB, free: 5.488 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.9645, allocations: 110.1 kB / 0.9843 GB, free: 5.422 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9646, allocations: 335.3 kB / 0.9846 GB, free: 5.094 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.9651, allocations: 242.1 kB / 0.9848 GB, free: 4.977 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.9656, allocations: 369.7 kB / 0.9852 GB, free: 4.715 MB / 0.573 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.003591/0.9692, allocations: 1.529 MB / 0.9867 GB, free: 3.859 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9692, allocations: 0 / 0.9867 GB, free: 3.859 MB / 0.573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001325/0.9706, allocations: 0.7796 MB / 0.9874 GB, free: 3.465 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.9706, allocations: 8.531 kB / 0.9875 GB, free: 3.465 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.9706, allocations: 8.203 kB / 0.9875 GB, free: 3.461 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/0.9709, allocations: 97.66 kB / 0.9876 GB, free: 3.406 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.9716, allocations: 143.8 kB / 0.9877 GB, free: 3.379 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.9744, allocations: 3.056 MB / 0.9907 GB, free: 452 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009527/0.9754, allocations: 57.09 kB / 0.9907 GB, free: 420 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.9754, allocations: 24.97 kB / 0.9908 GB, free: 412 kB / 0.573 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.0004874/0.9759, allocations: 298.2 kB / 0.991 GB, free: 192 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.9761, allocations: 96.36 kB / 0.9911 GB, free: 140 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.9763, allocations: 104.2 kB / 0.9912 GB, free: 64 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.9763, allocations: 4.656 kB / 0.9912 GB, free: 64 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.9764, allocations: 4 kB / 0.9912 GB, free: 60 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/0.9774, allocations: 0.8436 MB / 0.9921 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.9805, allocations: 1.789 MB / 0.9938 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.9805, allocations: 4 kB / 0.9938 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.9811, allocations: 129.1 kB / 0.9939 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.9814, allocations: 76.73 kB / 0.994 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.9814, allocations: 16.16 kB / 0.994 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.983, allocations: 1.642 MB / 0.9956 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.983, allocations: 8.062 kB / 0.9956 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006725/0.9897, allocations: 4.079 MB / 0.9996 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004911/0.9902, allocations: 240 kB / 0.9998 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.9904, allocations: 12.06 kB / 0.9999 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007991/0.9912, allocations: 71.61 kB / 0.9999 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.9913, allocations: 47.59 kB / 1 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/0.9914, allocations: 27.98 kB / 1 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007209/0.9921, allocations: 0.5498 MB / 1.001 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9921, allocations: 0 / 1.001 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00127/0.9934, allocations: 404 kB / 1.001 GB, free: 5.953 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (45): * Single equations (assignments): 44 * 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.0004874/0.9939, allocations: 199 kB / 1.001 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.9953, allocations: 0.7966 MB / 1.002 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.9953, allocations: 4 kB / 1.002 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.9959, allocations: 418.3 kB / 1.002 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/0.9987, allocations: 0.5839 MB / 1.003 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/1.002, allocations: 2.485 MB / 1.005 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/1.003, allocations: 1.092 MB / 1.006 GB, free: 320 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001001/1.004, allocations: 215.5 kB / 1.007 GB, free: 100 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.004, allocations: 79.42 kB / 1.007 GB, free: 24 kB / 0.5886 GB Notification: Performance of SimCode: time 7.51e-07/1.004, allocations: 3.938 kB / 1.007 GB, free: 20 kB / 0.5886 GB Notification: Performance of Templates: time 0.03435/1.038, allocations: 20.79 MB / 1.027 GB, free: 11.49 MB / 0.6198 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)