Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7912/0.7912, allocations: 143.4 MB / 159.2 MB, free: 4.844 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.001559/0.001559, allocations: 188.5 kB / 191.9 MB, free: 5.723 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.34/1.34, allocations: 222.9 MB / 447.3 MB, free: 5.887 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.000995/0.0009953, allocations: 107.1 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 276.5 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 87.88 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3404, allocations: 81.3 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5231/0.8635, allocations: 188.2 MB / 0.9517 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008979/0.8726, allocations: 5.725 MB / 0.9573 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.8747, allocations: 34 kB / 0.9573 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.8764, allocations: 0.5004 MB / 0.9578 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005091/0.8816, allocations: 1.721 MB / 0.9595 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.8845, allocations: 1.058 MB / 0.9605 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004771/0.8893, allocations: 4.084 MB / 0.9645 GB, free: 15.7 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.8908, allocations: 0.9626 MB / 0.9655 GB, free: 15.54 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.8928, allocations: 0.9086 MB / 0.9663 GB, free: 15.52 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.8953, allocations: 0.998 MB / 0.9673 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.8955, allocations: 57.56 kB / 0.9674 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.8992, allocations: 1.644 MB / 0.969 GB, free: 15.37 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007329/0.8999, allocations: 0.5149 MB / 0.9695 GB, free: 15.24 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.901, allocations: 0.6487 MB / 0.9701 GB, free: 14.91 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.9046, allocations: 2.355 MB / 0.9724 GB, free: 13.69 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.9046, allocations: 5.781 kB / 0.9724 GB, free: 13.69 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9046, allocations: 0 / 0.9724 GB, free: 13.69 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.9046, allocations: 0 / 0.9724 GB, free: 13.69 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002735/0.9074, allocations: 1.62 MB / 0.974 GB, free: 12.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9074, allocations: 7.812 kB / 0.974 GB, free: 12.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.9094, allocations: 323.5 kB / 0.9743 GB, free: 12.36 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.9108, allocations: 0.8622 MB / 0.9752 GB, free: 11.74 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.9109, allocations: 73.94 kB / 0.9752 GB, free: 11.71 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.9111, allocations: 102.3 kB / 0.9753 GB, free: 11.68 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.9128, allocations: 1.09 MB / 0.9764 GB, free: 11.07 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.9129, allocations: 1.875 kB / 0.9764 GB, free: 11.07 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.645e-05/0.913, allocations: 42.81 kB / 0.9764 GB, free: 11.04 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.913, allocations: 45.19 kB / 0.9765 GB, free: 11.03 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.9146, allocations: 0.9861 MB / 0.9774 GB, free: 10.55 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.006254/0.9209, allocations: 4.23 MB / 0.9816 GB, free: 7.262 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.9217, allocations: 0.6099 MB / 0.9822 GB, free: 6.93 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.9222, allocations: 340.3 kB / 0.9825 GB, free: 6.762 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.9224, allocations: 112.7 kB / 0.9826 GB, free: 6.656 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.9225, allocations: 48.28 kB / 0.9826 GB, free: 6.605 MB / 0.573 GB Notification: Performance of pre-optimization done (n=53): time 4.197e-06/0.9225, allocations: 3.938 kB / 0.9826 GB, free: 6.602 MB / 0.573 GB Notification: Performance of matching and sorting (n=55): time 0.004267/0.9267, allocations: 2.194 MB / 0.9848 GB, free: 5.141 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.9268, allocations: 60.97 kB / 0.9848 GB, free: 5.074 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.9279, allocations: 0.8745 MB / 0.9857 GB, free: 4.594 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.9279, allocations: 37.92 kB / 0.9857 GB, free: 4.555 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.9283, allocations: 0.5183 MB / 0.9862 GB, free: 4.094 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.9285, allocations: 189.1 kB / 0.9864 GB, free: 3.934 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.9287, allocations: 132.8 kB / 0.9866 GB, free: 3.855 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.9289, allocations: 333.4 kB / 0.9869 GB, free: 3.531 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.9294, allocations: 281.2 kB / 0.9871 GB, free: 3.395 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/0.9301, allocations: 446.5 kB / 0.9876 GB, free: 3.07 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.004805/0.9349, allocations: 1.733 MB / 0.9893 GB, free: 2.086 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.9349, allocations: 6.094 kB / 0.9893 GB, free: 2.082 MB / 0.573 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001916/0.9368, allocations: 0.9223 MB / 0.9902 GB, free: 1.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.9369, allocations: 9.234 kB / 0.9902 GB, free: 1.422 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.9369, allocations: 4 kB / 0.9902 GB, free: 1.418 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.9371, allocations: 101 kB / 0.9903 GB, free: 1.312 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/0.9378, allocations: 163.5 kB / 0.9904 GB, free: 1.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.9411, allocations: 4.288 MB / 0.9946 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.9422, allocations: 69.98 kB / 0.9947 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.9423, allocations: 24 kB / 0.9947 GB, free: 12.41 MB / 0.5886 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00062/0.9429, allocations: 344.4 kB / 0.995 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.9431, allocations: 98.88 kB / 0.9951 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.9433, allocations: 109.1 kB / 0.9952 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9433, allocations: 8 kB / 0.9952 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.9433, allocations: 3.938 kB / 0.9952 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/0.9444, allocations: 0.7717 MB / 0.996 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.9475, allocations: 1.975 MB / 0.9979 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.9475, allocations: 0 / 0.9979 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/0.9482, allocations: 149 kB / 0.9981 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.9483, allocations: 44.83 kB / 0.9981 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.9484, allocations: 8.312 kB / 0.9981 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.9495, allocations: 1.494 MB / 0.9996 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9495, allocations: 7.938 kB / 0.9996 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006539/0.9561, allocations: 4.553 MB / 1.004 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/0.9566, allocations: 255.9 kB / 1.004 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.9568, allocations: 16 kB / 1.004 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/0.9576, allocations: 70.06 kB / 1.004 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.9578, allocations: 50.52 kB / 1.004 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-05/0.9578, allocations: 27.98 kB / 1.004 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007721/0.9586, allocations: 0.6122 MB / 1.005 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9586, allocations: 2.531 kB / 1.005 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001393/0.96, allocations: 436 kB / 1.005 GB, free: 0.9922 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005716/0.9606, allocations: 194.7 kB / 1.006 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.9623, allocations: 0.9991 MB / 1.007 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.9623, allocations: 3.906 kB / 1.007 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006338/0.9629, allocations: 452 kB / 1.007 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.966, allocations: 0.6258 MB / 1.008 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.9701, allocations: 2.87 MB / 1.01 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009227/0.9711, allocations: 1.193 MB / 1.012 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001111/0.9722, allocations: 256.4 kB / 1.012 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.9725, allocations: 71.44 kB / 1.012 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/0.9725, allocations: 0 / 1.012 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.0361/1.009, allocations: 22.5 MB / 1.034 GB, free: 4.074 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)