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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6383/0.6383, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.001162/0.001162, allocations: 176.4 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 394.8 MB, free: 20.93 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.001029/0.001029, allocations: 98.12 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 12 kB / 0.5423 GB, free: 6.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3558, allocations: 74.55 MB / 0.6151 GB, free: 54.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.014/5.37, allocations: 2.161 GB / 2.776 GB, free: 224 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/5.37, allocations: 100.6 kB / 2.776 GB, free: 223.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.924/7.294, allocations: 0.5861 GB / 3.362 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/7.295, allocations: 0 / 3.362 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001136/7.295, allocations: 26.91 kB / 3.362 GB, free: 115.9 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.003519/7.298, allocations: 1.242 MB / 3.363 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/7.298, allocations: 18.12 kB / 3.363 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/7.3, allocations: 208.4 kB / 3.364 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/7.301, allocations: 0.7031 MB / 3.364 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.149e-05/7.301, allocations: 61.25 kB / 3.364 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/7.302, allocations: 76 kB / 3.364 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/7.303, allocations: 0.9011 MB / 3.365 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/7.303, allocations: 3.938 kB / 3.365 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.355e-05/7.303, allocations: 34.5 kB / 3.365 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/7.303, allocations: 29.31 kB / 3.365 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/7.305, allocations: 0.5974 MB / 3.366 GB, free: 112 MB / 0.6355 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.004163/7.309, allocations: 4.331 MB / 3.37 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/7.309, allocations: 429.3 kB / 3.371 GB, free: 107 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/7.31, allocations: 221.5 kB / 3.371 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/7.31, allocations: 101.1 kB / 3.371 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/7.31, allocations: 34.56 kB / 3.371 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 2.875e-06/7.31, allocations: 0 / 3.371 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.002593/7.312, allocations: 1.295 MB / 3.372 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/7.312, allocations: 63.39 kB / 3.372 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000907/7.313, allocations: 0.7076 MB / 3.373 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/7.313, allocations: 36.08 kB / 3.373 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/7.314, allocations: 419.2 kB / 3.373 GB, free: 104 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/7.314, allocations: 157.4 kB / 3.374 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/7.314, allocations: 12 kB / 3.374 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001303/7.314, allocations: 382.8 kB / 3.374 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/7.314, allocations: 183.7 kB / 3.374 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/7.315, allocations: 411.9 kB / 3.375 GB, free: 102.8 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.001917/7.317, allocations: 1.112 MB / 3.376 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/7.317, allocations: 0 / 3.376 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009592/7.318, allocations: 0.6457 MB / 3.376 GB, free: 101 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/7.318, allocations: 11.98 kB / 3.376 GB, free: 101 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/7.318, allocations: 8 kB / 3.376 GB, free: 101 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/7.318, allocations: 8 kB / 3.376 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/7.318, allocations: 123.8 kB / 3.376 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/7.318, allocations: 11.94 kB / 3.376 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/7.319, allocations: 53.56 kB / 3.376 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/7.319, allocations: 34.5 kB / 3.376 GB, free: 100.7 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 () * Number of clocked 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.0004469/7.319, allocations: 277.5 kB / 3.377 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/7.32, allocations: 82.97 kB / 3.377 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/7.32, allocations: 490.8 kB / 3.377 GB, free: 99.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/7.32, allocations: 4 kB / 3.377 GB, free: 99.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/7.32, allocations: 7.406 kB / 3.377 GB, free: 99.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005604/7.321, allocations: 0.6909 MB / 3.378 GB, free: 99.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/7.323, allocations: 1.43 MB / 3.379 GB, free: 97.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/7.323, allocations: 4 kB / 3.379 GB, free: 97.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/7.324, allocations: 99.88 kB / 3.379 GB, free: 97.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/7.324, allocations: 4 kB / 3.379 GB, free: 97.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/7.324, allocations: 12 kB / 3.379 GB, free: 97.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/7.324, allocations: 8 kB / 3.38 GB, free: 97.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/7.324, allocations: 7.938 kB / 3.38 GB, free: 97.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/7.325, allocations: 0.8633 MB / 3.38 GB, free: 96.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/7.325, allocations: 204.1 kB / 3.381 GB, free: 96.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/7.325, allocations: 15.98 kB / 3.381 GB, free: 96.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/7.326, allocations: 39.88 kB / 3.381 GB, free: 96.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/7.326, allocations: 38.66 kB / 3.381 GB, free: 96.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/7.326, allocations: 23.98 kB / 3.381 GB, free: 96.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006121/7.327, allocations: 0.5029 MB / 3.381 GB, free: 95.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/7.327, allocations: 5.812 kB / 3.381 GB, free: 95.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001466/7.328, allocations: 355.9 kB / 3.381 GB, free: 95.36 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 () * Number of clocked 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.002705/7.331, allocations: 1.702 MB / 3.383 GB, free: 94.01 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008203/7.332, allocations: 448.7 kB / 3.384 GB, free: 93.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/7.332, allocations: 4 kB / 3.384 GB, free: 93.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002711/7.332, allocations: 196.2 kB / 3.384 GB, free: 93.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/7.335, allocations: 459 kB / 3.384 GB, free: 92.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/7.338, allocations: 2.053 MB / 3.386 GB, free: 90.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/7.338, allocations: 1.032 MB / 3.387 GB, free: 89.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008624/7.339, allocations: 194 kB / 3.387 GB, free: 89.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/7.339, allocations: 67.42 kB / 3.387 GB, free: 89.52 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/7.339, allocations: 0 / 3.387 GB, free: 89.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.04753/7.387, allocations: 34.46 MB / 3.421 GB, free: 55.49 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)