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.001013/0.001013, allocations: 103.4 kB / 16.4 MB, free: 6.508 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.001339/0.001339, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.267/1.267, 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.6662/0.6662, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.34 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1263, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5232/0.6496, allocations: 187.3 MB / 0.815 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.664, allocations: 13.06 MB / 0.8277 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.6656, allocations: 38.25 kB / 0.8278 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.6671, allocations: 430.3 kB / 0.8282 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.6702, allocations: 1.154 MB / 0.8293 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.6726, allocations: 0.7136 MB / 0.83 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002588/0.6752, allocations: 2.013 MB / 0.832 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.6767, allocations: 0.8409 MB / 0.8328 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.6812, allocations: 1.827 MB / 0.8346 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.683, allocations: 0.6685 MB / 0.8352 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002467/0.6832, allocations: 77.97 kB / 0.8353 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.6854, allocations: 0.8685 MB / 0.8361 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005643/0.686, allocations: 385.2 kB / 0.8365 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009355/0.6869, allocations: 0.5007 MB / 0.837 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.6894, allocations: 1.5 MB / 0.8385 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6895, allocations: 0 / 0.8385 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6895, allocations: 0 / 0.8385 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.634e-05/0.6895, allocations: 0 / 0.8385 GB, free: 0.8867 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.00254/0.6921, allocations: 1.241 MB / 0.8397 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.6921, allocations: 15.42 kB / 0.8397 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.6934, allocations: 212.6 kB / 0.8399 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.6947, allocations: 0.685 MB / 0.8406 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.6948, allocations: 59.25 kB / 0.8406 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.6949, allocations: 79.83 kB / 0.8407 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.6963, allocations: 0.9327 MB / 0.8416 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.6963, allocations: 3.938 kB / 0.8416 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/0.6964, allocations: 34.09 kB / 0.8416 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.6965, allocations: 30.28 kB / 0.8417 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000895/0.6974, allocations: 0.6214 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.00407/0.7014, allocations: 4.576 MB / 0.8467 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.7022, allocations: 0.544 MB / 0.8473 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.7025, allocations: 259.8 kB / 0.8475 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.7027, allocations: 97.94 kB / 0.8476 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.7028, allocations: 39.97 kB / 0.8477 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.946e-06/0.7028, allocations: 3.938 kB / 0.8477 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.003027/0.7058, allocations: 1.59 MB / 0.8492 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.7059, allocations: 107.3 kB / 0.8493 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.7069, allocations: 0.7165 MB / 0.85 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.707, allocations: 31.55 kB / 0.85 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.7073, allocations: 420.6 kB / 0.8504 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.7075, allocations: 164.2 kB / 0.8506 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.7077, allocations: 116.9 kB / 0.8507 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7079, allocations: 332.8 kB / 0.851 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.7082, allocations: 185.6 kB / 0.8512 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.7087, allocations: 417.3 kB / 0.8516 GB, free: 6.434 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.002321/0.711, allocations: 1.182 MB / 0.8528 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.711, allocations: 0 / 0.8528 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009999/0.712, allocations: 0.6677 MB / 0.8534 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.7121, allocations: 11.94 kB / 0.8534 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.7121, allocations: 4 kB / 0.8534 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.7121, allocations: 12 kB / 0.8534 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.7126, allocations: 127.8 kB / 0.8536 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.7126, allocations: 15.94 kB / 0.8536 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.7132, allocations: 28.3 kB / 0.8536 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.7132, allocations: 39.94 kB / 0.8536 GB, free: 4.324 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.0003647/0.7136, allocations: 266.3 kB / 0.8539 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.7138, allocations: 87 kB / 0.854 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.7139, allocations: 87.75 kB / 0.8541 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.714, allocations: 7.984 kB / 0.8541 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.714, allocations: 7.938 kB / 0.8541 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006964/0.7147, allocations: 0.7066 MB / 0.8548 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.7169, allocations: 1.641 MB / 0.8564 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.717, allocations: 5 kB / 0.8564 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.7174, allocations: 95.89 kB / 0.8565 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.7174, allocations: 12.44 kB / 0.8565 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.7175, allocations: 23.98 kB / 0.8565 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.7175, allocations: 7.938 kB / 0.8565 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7175, allocations: 4 kB / 0.8565 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.7185, allocations: 0.8617 MB / 0.8574 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.7188, allocations: 200.2 kB / 0.8575 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.7189, allocations: 19.94 kB / 0.8576 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.7194, allocations: 21.55 kB / 0.8576 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.7195, allocations: 43.84 kB / 0.8576 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.7195, allocations: 19.98 kB / 0.8576 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006087/0.7201, allocations: 0.5068 MB / 0.8581 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7201, allocations: 0 / 0.8581 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000719/0.7209, allocations: 208 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.0005179/0.7214, allocations: 197.3 kB / 0.8585 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007579/0.7222, allocations: 476.8 kB / 0.859 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7222, allocations: 7.875 kB / 0.859 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.7225, allocations: 212 kB / 0.8592 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.7246, allocations: 474 kB / 0.8596 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.7271, allocations: 1.657 MB / 0.8613 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.7277, allocations: 1.024 MB / 0.8623 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006129/0.7284, allocations: 207 kB / 0.8625 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.7285, allocations: 63.44 kB / 0.8625 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.7285, allocations: 0 / 0.8625 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.02598/0.7545, allocations: 15.18 MB / 0.8773 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)