Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7918/0.7918, allocations: 127.4 MB / 134.9 MB, free: 3.703 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 184.8 kB / 164.7 MB, free: 6.516 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.2 MB / 399.5 MB, free: 5.898 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000808/0.000808, allocations: 83.59 kB / 476.7 MB, free: 8.637 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.615e-05, allocations: 4 kB / 0.5466 GB, free: 60.47 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1323, allocations: 76.75 MB / 0.6215 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.806/4.938, allocations: 2.161 GB / 2.783 GB, free: 70.64 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/4.939, allocations: 93.25 kB / 2.783 GB, free: 70.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.252/7.19, allocations: 0.5801 GB / 3.363 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/7.191, allocations: 0 / 3.363 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.212e-05/7.191, allocations: 27.36 kB / 3.363 GB, free: 103.2 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001913/7.193, allocations: 1.138 MB / 3.364 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/7.193, allocations: 7.906 kB / 3.364 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/7.194, allocations: 213.9 kB / 3.365 GB, free: 102.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/7.195, allocations: 0.6703 MB / 3.365 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/7.195, allocations: 22.16 kB / 3.365 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/7.195, allocations: 49.94 kB / 3.365 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008146/7.196, allocations: 0.5181 MB / 3.366 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/7.197, allocations: 0.7804 MB / 3.367 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/7.197, allocations: 6.875 kB / 3.367 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/7.197, allocations: 3.406 kB / 3.367 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/7.197, allocations: 27.03 kB / 3.367 GB, free: 102.2 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.002941/7.2, allocations: 4.142 MB / 3.371 GB, free: 99.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/7.2, allocations: 392.3 kB / 3.371 GB, free: 99.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/7.2, allocations: 203.5 kB / 3.371 GB, free: 99.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/7.201, allocations: 99.72 kB / 3.371 GB, free: 99.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/7.201, allocations: 39.28 kB / 3.371 GB, free: 99.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 1.563e-06/7.201, allocations: 0 / 3.371 GB, free: 99.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001753/7.202, allocations: 1.072 MB / 3.372 GB, free: 98.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/7.202, allocations: 61.08 kB / 3.372 GB, free: 98.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/7.203, allocations: 426.6 kB / 3.373 GB, free: 98.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/7.203, allocations: 28.86 kB / 3.373 GB, free: 98.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/7.203, allocations: 423.7 kB / 3.373 GB, free: 98.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/7.203, allocations: 160.2 kB / 3.373 GB, free: 98.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/7.203, allocations: 0 / 3.373 GB, free: 98.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/7.203, allocations: 372 kB / 3.374 GB, free: 98.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/7.204, allocations: 161.7 kB / 3.374 GB, free: 98.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/7.204, allocations: 384.8 kB / 3.374 GB, free: 97.81 MB / 0.6355 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.001275/7.205, allocations: 0.6237 MB / 3.375 GB, free: 97.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/7.205, allocations: 6.641 kB / 3.375 GB, free: 97.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007389/7.206, allocations: 0.5531 MB / 3.375 GB, free: 97.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/7.206, allocations: 7.312 kB / 3.375 GB, free: 97.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/7.206, allocations: 6.594 kB / 3.375 GB, free: 97.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/7.206, allocations: 7.562 kB / 3.375 GB, free: 97.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/7.206, allocations: 130.1 kB / 3.376 GB, free: 97.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/7.206, allocations: 17.88 kB / 3.376 GB, free: 97.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/7.207, allocations: 30.27 kB / 3.376 GB, free: 97.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/7.207, allocations: 25.47 kB / 3.376 GB, free: 97.62 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/7.207, allocations: 131.5 kB / 3.376 GB, free: 97.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/7.207, allocations: 72.64 kB / 3.376 GB, free: 97.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/7.207, allocations: 73.03 kB / 3.376 GB, free: 97.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/7.207, allocations: 3.562 kB / 3.376 GB, free: 97.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/7.208, allocations: 0 / 3.376 GB, free: 97.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004612/7.208, allocations: 0.6555 MB / 3.377 GB, free: 97.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/7.21, allocations: 1.291 MB / 3.378 GB, free: 96.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/7.21, allocations: 3.656 kB / 3.378 GB, free: 96.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/7.21, allocations: 103.1 kB / 3.378 GB, free: 96.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/7.21, allocations: 3.781 kB / 3.378 GB, free: 96.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/7.21, allocations: 10 kB / 3.378 GB, free: 96.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/7.21, allocations: 18.11 kB / 3.378 GB, free: 96.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/7.21, allocations: 6.156 kB / 3.378 GB, free: 96.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/7.211, allocations: 0.9534 MB / 3.379 GB, free: 96.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/7.211, allocations: 189.5 kB / 3.379 GB, free: 95.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.453e-05/7.211, allocations: 6.969 kB / 3.379 GB, free: 95.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/7.212, allocations: 37.03 kB / 3.379 GB, free: 95.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/7.212, allocations: 37.28 kB / 3.379 GB, free: 95.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/7.212, allocations: 25.45 kB / 3.379 GB, free: 95.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002695/7.212, allocations: 322.3 kB / 3.379 GB, free: 95.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/7.212, allocations: 0 / 3.379 GB, free: 95.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009276/7.213, allocations: 294.1 kB / 3.38 GB, free: 95.89 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002164/7.215, allocations: 1.904 MB / 3.382 GB, free: 95.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005464/7.216, allocations: 414.6 kB / 3.382 GB, free: 95.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/7.216, allocations: 3.969 kB / 3.382 GB, free: 95.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/7.216, allocations: 187.7 kB / 3.382 GB, free: 95.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/7.217, allocations: 301.4 kB / 3.382 GB, free: 95.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/7.219, allocations: 1.238 MB / 3.384 GB, free: 94.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/7.22, allocations: 1.042 MB / 3.385 GB, free: 94.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005225/7.22, allocations: 159.1 kB / 3.385 GB, free: 94.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/7.22, allocations: 55.66 kB / 3.385 GB, free: 94.2 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/7.22, allocations: 1.688 kB / 3.385 GB, free: 94.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.02626/7.247, allocations: 19.89 MB / 3.404 GB, free: 93.33 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)