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.7032/0.7032, allocations: 128.8 MB / 143.7 MB, free: 2.328 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.001278/0.001278, allocations: 196.3 kB / 173.8 MB, free: 6.102 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.357/1.357, allocations: 205.4 MB / 409 MB, free: 10.49 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.0007671/0.0007672, allocations: 90.67 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 9.625 kB / 0.5603 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 76.77 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4673/0.6132, allocations: 163.2 MB / 0.7947 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.6272, allocations: 11.04 MB / 0.8055 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.6286, allocations: 27.44 kB / 0.8055 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.6302, allocations: 438.6 kB / 0.806 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003846/0.634, allocations: 1.06 MB / 0.807 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.6369, allocations: 0.8419 MB / 0.8078 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00243/0.6393, allocations: 1.265 MB / 0.809 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009832/0.6403, allocations: 0.6229 MB / 0.8097 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.6438, allocations: 1.255 MB / 0.8109 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009145/0.6447, allocations: 427.5 kB / 0.8113 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.6449, allocations: 36.95 kB / 0.8113 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.6461, allocations: 358.4 kB / 0.8117 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.6464, allocations: 318 kB / 0.812 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.6466, allocations: 205.9 kB / 0.8122 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.6477, allocations: 1.037 MB / 0.8132 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6478, allocations: 0 / 0.8132 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6478, allocations: 0 / 0.8132 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.6478, allocations: 0 / 0.8132 GB, free: 12.13 MB / 0.5261 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.001642/0.6494, allocations: 1.041 MB / 0.8142 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.6495, allocations: 7.719 kB / 0.8142 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009679/0.6505, allocations: 196.8 kB / 0.8144 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009593/0.6514, allocations: 0.6192 MB / 0.815 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.6515, allocations: 59.84 kB / 0.815 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6516, allocations: 75 kB / 0.8151 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.6528, allocations: 0.908 MB / 0.816 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.6529, allocations: 11 kB / 0.816 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/0.6529, allocations: 30.84 kB / 0.816 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.653, allocations: 26.12 kB / 0.8161 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008805/0.6539, allocations: 0.6158 MB / 0.8167 GB, free: 10.37 MB / 0.5261 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.003993/0.6579, allocations: 4.343 MB / 0.8209 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.6585, allocations: 0.5199 MB / 0.8214 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.6586, allocations: 14.28 kB / 0.8214 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.6587, allocations: 43.59 kB / 0.8215 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.084e-06/0.6587, allocations: 4 kB / 0.8215 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.002263/0.6609, allocations: 1.337 MB / 0.8228 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.661, allocations: 57.19 kB / 0.8228 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007715/0.6618, allocations: 0.7048 MB / 0.8235 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.6618, allocations: 33.64 kB / 0.8236 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.6621, allocations: 429.5 kB / 0.824 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.6623, allocations: 158.4 kB / 0.8241 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.6623, allocations: 11.72 kB / 0.8241 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6625, allocations: 386.9 kB / 0.8245 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.6627, allocations: 179.1 kB / 0.8247 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.6631, allocations: 397.4 kB / 0.825 GB, free: 4.836 MB / 0.5261 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.001364/0.6645, allocations: 0.635 MB / 0.8257 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.6645, allocations: 1.969 kB / 0.8257 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008947/0.6654, allocations: 0.6519 MB / 0.8263 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6655, allocations: 7.656 kB / 0.8263 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6655, allocations: 9.391 kB / 0.8263 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.6655, allocations: 16.25 kB / 0.8263 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.6659, allocations: 129.5 kB / 0.8265 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.666, allocations: 10.31 kB / 0.8265 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.6665, allocations: 45.38 kB / 0.8265 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.6665, allocations: 30.12 kB / 0.8265 GB, free: 4.395 MB / 0.5261 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.0003784/0.6669, allocations: 276.4 kB / 0.8268 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.667, allocations: 80.09 kB / 0.8269 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.6672, allocations: 88.64 kB / 0.827 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6672, allocations: 6.391 kB / 0.827 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.6672, allocations: 6.922 kB / 0.827 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006834/0.6679, allocations: 0.6941 MB / 0.8277 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.67, allocations: 1.454 MB / 0.8291 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6701, allocations: 2.812 kB / 0.8291 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.6705, allocations: 100.8 kB / 0.8292 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.6705, allocations: 7.5 kB / 0.8292 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.6705, allocations: 15.12 kB / 0.8292 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.6705, allocations: 9.031 kB / 0.8292 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6706, allocations: 4.906 kB / 0.8292 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.6716, allocations: 1.035 MB / 0.8302 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.672, allocations: 206.7 kB / 0.8304 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.269e-05/0.6721, allocations: 14.69 kB / 0.8304 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.6725, allocations: 46.78 kB / 0.8305 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.6726, allocations: 38.69 kB / 0.8305 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.6726, allocations: 15.31 kB / 0.8305 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005612/0.6732, allocations: 0.5057 MB / 0.831 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6732, allocations: 3.938 kB / 0.831 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000699/0.6739, allocations: 195.9 kB / 0.8312 GB, free: 1.949 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.0004457/0.6744, allocations: 199.6 kB / 0.8314 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006745/0.675, allocations: 457.4 kB / 0.8318 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6751, allocations: 0 / 0.8318 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.6753, allocations: 201.7 kB / 0.832 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.6771, allocations: 449.3 kB / 0.8325 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.6796, allocations: 1.981 MB / 0.8344 GB, free: 292 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.6803, allocations: 1.045 MB / 0.8354 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006717/0.681, allocations: 196.5 kB / 0.8356 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.6811, allocations: 65.66 kB / 0.8357 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of SimCode: time 6.12e-07/0.6811, allocations: 0 / 0.8357 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of Templates: time 0.0244/0.7055, allocations: 13.99 MB / 0.8493 GB, free: 4.965 MB / 0.5417 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)