Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001126/0.001126, allocations: 107.2 kB / 16.41 MB, free: 6.473 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.00102/0.00102, allocations: 191.9 kB / 17.34 MB, free: 5.754 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7499/0.7499, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 66.67 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1918, allocations: 76.18 MB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.706/0.8979, allocations: 187.3 MB / 0.815 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.9133, allocations: 13.06 MB / 0.8277 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.915, allocations: 30.59 kB / 0.8278 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.9166, allocations: 438.7 kB / 0.8282 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.9202, allocations: 1.155 MB / 0.8293 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.9223, allocations: 0.7024 MB / 0.83 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002944/0.9252, allocations: 2.016 MB / 0.832 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.9266, allocations: 0.846 MB / 0.8328 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.9315, allocations: 1.822 MB / 0.8346 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.9338, allocations: 0.6663 MB / 0.8352 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.9342, allocations: 80.59 kB / 0.8353 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.937, allocations: 0.8626 MB / 0.8361 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007064/0.9377, allocations: 389.1 kB / 0.8365 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.939, allocations: 0.4973 MB / 0.837 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003775/0.9428, allocations: 1.506 MB / 0.8385 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.9428, allocations: 0 / 0.8385 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9428, allocations: 0 / 0.8385 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.375e-05/0.9429, allocations: 2.625 kB / 0.8385 GB, free: 0.875 MB / 0.5919 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.003212/0.9461, allocations: 1.245 MB / 0.8397 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.9462, allocations: 9.906 kB / 0.8397 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.9476, allocations: 215.2 kB / 0.8399 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.9488, allocations: 0.6853 MB / 0.8406 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.9489, allocations: 59.59 kB / 0.8406 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.949, allocations: 77.12 kB / 0.8407 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.9505, allocations: 0.9329 MB / 0.8416 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.9505, allocations: 6.656 kB / 0.8416 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.167e-05/0.9506, allocations: 30.84 kB / 0.8416 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.9507, allocations: 33.69 kB / 0.8417 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009715/0.9516, allocations: 0.6228 MB / 0.8423 GB, free: 14.25 MB / 0.6075 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.004795/0.9565, allocations: 4.569 MB / 0.8467 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/0.9573, allocations: 0.5391 MB / 0.8473 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.9577, allocations: 264.1 kB / 0.8475 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.9579, allocations: 98.38 kB / 0.8476 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.9579, allocations: 43.8 kB / 0.8477 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.9579, allocations: 0 / 0.8477 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002994/0.9609, allocations: 1.59 MB / 0.8492 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.961, allocations: 107.7 kB / 0.8493 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/0.9619, allocations: 0.716 MB / 0.85 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.962, allocations: 32.17 kB / 0.85 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.9623, allocations: 418.2 kB / 0.8504 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.9625, allocations: 166.7 kB / 0.8506 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.9627, allocations: 116.7 kB / 0.8507 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9628, allocations: 337.5 kB / 0.851 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.9631, allocations: 184.7 kB / 0.8512 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/0.9636, allocations: 419.9 kB / 0.8516 GB, free: 6.438 MB / 0.6075 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.002319/0.966, allocations: 1.183 MB / 0.8528 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.966, allocations: 0 / 0.8528 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001113/0.9671, allocations: 0.6677 MB / 0.8534 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.9671, allocations: 15.88 kB / 0.8534 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.9672, allocations: 11.98 kB / 0.8534 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.9672, allocations: 8 kB / 0.8535 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.9677, allocations: 123.8 kB / 0.8536 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/0.9677, allocations: 11.94 kB / 0.8536 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.9684, allocations: 28.27 kB / 0.8536 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.9684, allocations: 32 kB / 0.8536 GB, free: 4.332 MB / 0.6075 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.0004761/0.9689, allocations: 277.5 kB / 0.8539 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.9691, allocations: 83 kB / 0.854 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.9693, allocations: 87.66 kB / 0.8541 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.9693, allocations: 8 kB / 0.8541 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.9693, allocations: 0 / 0.8541 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007653/0.9701, allocations: 0.7041 MB / 0.8548 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.9725, allocations: 1.642 MB / 0.8564 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.9725, allocations: 4 kB / 0.8564 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.973, allocations: 99.88 kB / 0.8565 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.973, allocations: 12.44 kB / 0.8565 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.973, allocations: 12 kB / 0.8565 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.288e-05/0.973, allocations: 11.94 kB / 0.8565 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.9731, allocations: 4 kB / 0.8565 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.9742, allocations: 0.8687 MB / 0.8574 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.9745, allocations: 200.3 kB / 0.8575 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.9746, allocations: 23.92 kB / 0.8576 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.975, allocations: 18.56 kB / 0.8576 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.9751, allocations: 47.83 kB / 0.8576 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.9752, allocations: 20 kB / 0.8577 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006903/0.9759, allocations: 0.5068 MB / 0.8581 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.647e-06/0.9759, allocations: 0 / 0.8581 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009337/0.9768, allocations: 203.9 kB / 0.8583 GB, free: 15.25 MB / 0.6231 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.0005787/0.9774, allocations: 207.4 kB / 0.8585 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008892/0.9783, allocations: 476.8 kB / 0.859 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9783, allocations: 0 / 0.859 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.9786, allocations: 212.2 kB / 0.8592 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.9808, allocations: 482.2 kB / 0.8597 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.9835, allocations: 1.653 MB / 0.8613 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/0.9841, allocations: 1.02 MB / 0.8623 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006936/0.9848, allocations: 211 kB / 0.8625 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.985, allocations: 71.42 kB / 0.8625 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/0.985, allocations: 0 / 0.8625 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.03702/1.022, allocations: 15.17 MB / 0.8774 GB, free: 11.93 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)