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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.001271, allocations: 105.9 kB / 16.27 MB, free: 6.113 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.001276/0.001277, allocations: 194.4 kB / 17.2 MB, free: 5.723 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002407/0.002407, allocations: 282.5 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9642/0.9642, allocations: 169.3 MB / 0.4988 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002068, allocations: 89.98 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1736, allocations: 86.98 MB / 0.6808 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5058/0.6794, allocations: 187.3 MB / 0.8637 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.6972, allocations: 13.06 MB / 0.8765 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.6985, allocations: 31.81 kB / 0.8765 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.7002, allocations: 425.2 kB / 0.8769 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003326/0.7035, allocations: 1.163 MB / 0.878 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.7055, allocations: 0.6977 MB / 0.8787 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00289/0.7084, allocations: 2.016 MB / 0.8807 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.7099, allocations: 0.8423 MB / 0.8815 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004406/0.7143, allocations: 1.798 MB / 0.8833 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.7163, allocations: 0.6602 MB / 0.8839 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.7166, allocations: 80 kB / 0.884 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.7188, allocations: 0.877 MB / 0.8848 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005761/0.7194, allocations: 387 kB / 0.8852 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009643/0.7203, allocations: 0.5054 MB / 0.8857 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.7231, allocations: 1.472 MB / 0.8871 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7231, allocations: 0 / 0.8871 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7231, allocations: 0 / 0.8871 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.463e-05/0.7232, allocations: 4 kB / 0.8871 GB, free: 11.63 MB / 0.6544 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.002479/0.7256, allocations: 1.237 MB / 0.8884 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.7257, allocations: 8.031 kB / 0.8884 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.7271, allocations: 214.6 kB / 0.8886 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.7284, allocations: 0.6481 MB / 0.8892 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.7284, allocations: 61.94 kB / 0.8893 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.7286, allocations: 76 kB / 0.8893 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.7301, allocations: 0.9327 MB / 0.8902 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.7301, allocations: 3.938 kB / 0.8902 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.7302, allocations: 35.94 kB / 0.8903 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.7303, allocations: 37 kB / 0.8903 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.7314, allocations: 0.6177 MB / 0.8909 GB, free: 7.594 MB / 0.6544 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.004843/0.7362, allocations: 4.601 MB / 0.8954 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/0.7371, allocations: 0.5439 MB / 0.8959 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.7375, allocations: 251.7 kB / 0.8962 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.7377, allocations: 101.1 kB / 0.8963 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.7378, allocations: 38.56 kB / 0.8963 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.976e-06/0.7378, allocations: 0 / 0.8963 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.003101/0.7409, allocations: 1.59 MB / 0.8979 GB, free: 36 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.741, allocations: 110.8 kB / 0.898 GB, free: 15.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008932/0.7419, allocations: 0.7155 MB / 0.8987 GB, free: 15.17 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.742, allocations: 33.7 kB / 0.8987 GB, free: 15.13 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.7423, allocations: 411.8 kB / 0.8991 GB, free: 14.73 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.7424, allocations: 169.7 kB / 0.8993 GB, free: 14.56 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.7426, allocations: 114.2 kB / 0.8994 GB, free: 14.44 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7427, allocations: 334 kB / 0.8997 GB, free: 14.11 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.743, allocations: 185.2 kB / 0.8999 GB, free: 13.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.7435, allocations: 417 kB / 0.9003 GB, free: 13.43 MB / 0.67 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.002261/0.7457, allocations: 1.187 MB / 0.9014 GB, free: 12.14 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.7458, allocations: 0 / 0.9014 GB, free: 12.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00115/0.7469, allocations: 0.6602 MB / 0.9021 GB, free: 11.47 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.7469, allocations: 11.94 kB / 0.9021 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.747, allocations: 8 kB / 0.9021 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/0.747, allocations: 11.98 kB / 0.9021 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.7475, allocations: 131.7 kB / 0.9022 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.7475, allocations: 12.47 kB / 0.9022 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/0.7481, allocations: 37.86 kB / 0.9023 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.7482, allocations: 32 kB / 0.9023 GB, free: 11.23 MB / 0.67 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.0004144/0.7486, allocations: 270.5 kB / 0.9026 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.7488, allocations: 83 kB / 0.9026 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.749, allocations: 87.66 kB / 0.9027 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.749, allocations: 4 kB / 0.9027 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.749, allocations: 4 kB / 0.9027 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007047/0.7497, allocations: 0.6988 MB / 0.9034 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.7522, allocations: 1.631 MB / 0.905 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/0.7522, allocations: 7.938 kB / 0.905 GB, free: 8.246 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.7527, allocations: 100.3 kB / 0.9051 GB, free: 8.148 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/0.7527, allocations: 19.92 kB / 0.9051 GB, free: 8.129 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.7527, allocations: 12 kB / 0.9051 GB, free: 8.117 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.7528, allocations: 4.875 kB / 0.9051 GB, free: 8.113 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.7528, allocations: 7.938 kB / 0.9051 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.7539, allocations: 0.877 MB / 0.906 GB, free: 7.168 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.7543, allocations: 204.1 kB / 0.9062 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.7544, allocations: 19.94 kB / 0.9062 GB, free: 6.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.7549, allocations: 21.11 kB / 0.9062 GB, free: 6.91 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.755, allocations: 47.83 kB / 0.9063 GB, free: 6.863 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.755, allocations: 16 kB / 0.9063 GB, free: 6.848 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006578/0.7557, allocations: 0.5107 MB / 0.9068 GB, free: 6.344 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7557, allocations: 0 / 0.9068 GB, free: 6.344 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000781/0.7565, allocations: 204 kB / 0.907 GB, free: 6.145 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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.0004908/0.757, allocations: 205.8 kB / 0.9072 GB, free: 5.957 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009381/0.7579, allocations: 0.5141 MB / 0.9077 GB, free: 5.445 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7579, allocations: 4 kB / 0.9077 GB, free: 5.441 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.7583, allocations: 207.7 kB / 0.9079 GB, free: 5.238 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.7604, allocations: 486.2 kB / 0.9084 GB, free: 4.773 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.7632, allocations: 1.732 MB / 0.91 GB, free: 2.953 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007002/0.7639, allocations: 1.028 MB / 0.9111 GB, free: 1.898 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.7641, allocations: 71.42 kB / 0.9111 GB, free: 1.828 MB / 0.67 GB Notification: Performance of SimCode: time 9.32e-07/0.7642, allocations: 0 / 0.9111 GB, free: 1.828 MB / 0.67 GB Notification: Performance of Templates: time 0.02019/0.7843, allocations: 12.9 MB / 0.9237 GB, free: 5.09 MB / 0.6856 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)