Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9136/0.9136, allocations: 143.4 MB / 159.2 MB, free: 4.895 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.001136/0.001136, allocations: 190.9 kB / 191.9 MB, free: 5.738 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.325/1.325, allocations: 222.9 MB / 447.3 MB, free: 5.879 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.001014/0.001014, allocations: 103.2 kB / 0.5169 GB, free: 3.738 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001882, allocations: 288 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 83.86 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3083, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4577/0.7661, allocations: 185 MB / 0.9486 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.7785, allocations: 13.1 MB / 0.9614 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.7798, allocations: 29.69 kB / 0.9614 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.7809, allocations: 353.6 kB / 0.9617 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.7835, allocations: 1.086 MB / 0.9628 GB, free: 15.69 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.785, allocations: 0.6244 MB / 0.9634 GB, free: 15.67 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002505/0.7875, allocations: 2.764 MB / 0.9661 GB, free: 15.67 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008799/0.7884, allocations: 0.7279 MB / 0.9668 GB, free: 15.54 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.7918, allocations: 1.656 MB / 0.9684 GB, free: 15.45 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.7934, allocations: 0.6783 MB / 0.9691 GB, free: 15.35 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.7935, allocations: 47.47 kB / 0.9692 GB, free: 15.35 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.7953, allocations: 0.9844 MB / 0.9701 GB, free: 15.34 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000367/0.7957, allocations: 349 kB / 0.9704 GB, free: 15.3 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005208/0.7963, allocations: 474.3 kB / 0.9709 GB, free: 15.12 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.798, allocations: 1.495 MB / 0.9724 GB, free: 14.65 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7981, allocations: 0 / 0.9724 GB, free: 14.65 MB / 0.573 GB Notification: Performance of FrontEnd: time 7.52e-07/0.7981, allocations: 0 / 0.9724 GB, free: 14.65 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.7981, allocations: 3.406 kB / 0.9724 GB, free: 14.65 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001768/0.7999, allocations: 1.23 MB / 0.9736 GB, free: 13.7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7999, allocations: 10.12 kB / 0.9736 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.8011, allocations: 220.1 kB / 0.9738 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.8022, allocations: 0.6266 MB / 0.9744 GB, free: 13.12 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.8022, allocations: 62.47 kB / 0.9745 GB, free: 13.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.8023, allocations: 74.88 kB / 0.9745 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.8036, allocations: 0.9398 MB / 0.9754 GB, free: 12.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.8036, allocations: 5.5 kB / 0.9754 GB, free: 12.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.8037, allocations: 36.34 kB / 0.9755 GB, free: 12.38 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/0.8037, allocations: 35.05 kB / 0.9755 GB, free: 12.37 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009029/0.8046, allocations: 0.6162 MB / 0.9761 GB, free: 12.09 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.003877/0.8085, allocations: 4.581 MB / 0.9806 GB, free: 7.953 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006642/0.8092, allocations: 0.5363 MB / 0.9811 GB, free: 7.586 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.8095, allocations: 245.4 kB / 0.9814 GB, free: 7.457 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.8097, allocations: 97.88 kB / 0.9814 GB, free: 7.359 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.8097, allocations: 44.34 kB / 0.9815 GB, free: 7.312 MB / 0.573 GB Notification: Performance of pre-optimization done (n=43): time 2.073e-06/0.8097, allocations: 0 / 0.9815 GB, free: 7.312 MB / 0.573 GB Notification: Performance of matching and sorting (n=45): time 0.002515/0.8123, allocations: 1.575 MB / 0.983 GB, free: 6.293 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.8123, allocations: 112 kB / 0.9831 GB, free: 6.164 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007406/0.8131, allocations: 0.7137 MB / 0.9838 GB, free: 5.758 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.8131, allocations: 35.83 kB / 0.9839 GB, free: 5.719 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.8134, allocations: 409.9 kB / 0.9843 GB, free: 5.363 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.8135, allocations: 170.2 kB / 0.9844 GB, free: 5.223 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.8137, allocations: 112.4 kB / 0.9845 GB, free: 5.156 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.8138, allocations: 384.4 kB / 0.9849 GB, free: 4.789 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.8141, allocations: 188.8 kB / 0.9851 GB, free: 4.699 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.8145, allocations: 424.3 kB / 0.9855 GB, free: 4.32 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.8165, allocations: 1.165 MB / 0.9866 GB, free: 3.551 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8166, allocations: 6.25 kB / 0.9866 GB, free: 3.547 MB / 0.573 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008652/0.8174, allocations: 0.6672 MB / 0.9873 GB, free: 3.238 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8175, allocations: 12.5 kB / 0.9873 GB, free: 3.234 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8175, allocations: 7.344 kB / 0.9873 GB, free: 3.234 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.8175, allocations: 8.469 kB / 0.9873 GB, free: 3.234 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.818, allocations: 132.1 kB / 0.9874 GB, free: 3.211 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.818, allocations: 16.23 kB / 0.9874 GB, free: 3.207 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000589/0.8186, allocations: 54.25 kB / 0.9875 GB, free: 3.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.8186, allocations: 27.16 kB / 0.9875 GB, free: 3.176 MB / 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003173/0.819, allocations: 277.9 kB / 0.9878 GB, free: 2.969 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.8191, allocations: 84.06 kB / 0.9879 GB, free: 2.926 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.8193, allocations: 88.34 kB / 0.9879 GB, free: 2.855 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.8193, allocations: 8.703 kB / 0.988 GB, free: 2.852 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.8193, allocations: 2.688 kB / 0.988 GB, free: 2.852 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006185/0.8199, allocations: 0.6923 MB / 0.9886 GB, free: 2.258 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.8221, allocations: 1.636 MB / 0.9902 GB, free: 1.047 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8221, allocations: 2.5 kB / 0.9902 GB, free: 1.047 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.8226, allocations: 108.6 kB / 0.9903 GB, free: 1.023 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.8226, allocations: 11.56 kB / 0.9903 GB, free: 1.02 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.8226, allocations: 14.84 kB / 0.9904 GB, free: 1.012 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.8227, allocations: 8.312 kB / 0.9904 GB, free: 1.012 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.8227, allocations: 7.625 kB / 0.9904 GB, free: 1.012 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004738/0.8274, allocations: 3.676 MB / 0.994 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.8278, allocations: 203.1 kB / 0.9942 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/0.8278, allocations: 15.12 kB / 0.9942 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.8283, allocations: 42.56 kB / 0.9942 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.8284, allocations: 38.72 kB / 0.9943 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.8285, allocations: 19.33 kB / 0.9943 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006239/0.8291, allocations: 0.5109 MB / 0.9948 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8291, allocations: 0 / 0.9948 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001097/0.8302, allocations: 305.2 kB / 0.9951 GB, free: 13.76 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004294/0.8307, allocations: 211.2 kB / 0.9953 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007515/0.8314, allocations: 471.6 kB / 0.9957 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.8314, allocations: 4 kB / 0.9957 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.8317, allocations: 204.6 kB / 0.9959 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.8338, allocations: 462.3 kB / 0.9964 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.8365, allocations: 2.237 MB / 0.9985 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.837, allocations: 1.036 MB / 0.9995 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006495/0.8377, allocations: 210.9 kB / 0.9997 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.8379, allocations: 63.44 kB / 0.9998 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.8379, allocations: 0 / 0.9998 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of Templates: time 0.02476/0.8626, allocations: 15.4 MB / 1.015 GB, free: 9.766 MB / 0.6042 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)