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.001249/0.001249, allocations: 114.4 kB / 17.08 MB, free: 6 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.001258/0.001258, allocations: 193.8 kB / 18.02 MB, free: 5.082 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7385/0.7385, allocations: 115.3 MB / 407.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 64.77 kB / 0.5584 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1791, allocations: 76.18 MB / 0.6328 GB, free: 4.348 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6342/0.8134, allocations: 187.3 MB / 0.8156 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.8316, allocations: 13.06 MB / 0.8284 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.8336, allocations: 31.5 kB / 0.8284 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.8352, allocations: 435.1 kB / 0.8288 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.8388, allocations: 1.149 MB / 0.83 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.8409, allocations: 0.718 MB / 0.8307 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003021/0.844, allocations: 2.006 MB / 0.8326 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.8452, allocations: 0.8442 MB / 0.8334 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004737/0.8499, allocations: 1.826 MB / 0.8352 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.8519, allocations: 0.668 MB / 0.8359 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.8521, allocations: 78.06 kB / 0.836 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.8544, allocations: 0.8685 MB / 0.8368 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004396/0.8549, allocations: 387.5 kB / 0.8372 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006656/0.8555, allocations: 0.4959 MB / 0.8377 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.8581, allocations: 1.5 MB / 0.8391 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.8581, allocations: 4 kB / 0.8391 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8581, allocations: 4 kB / 0.8391 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.568e-05/0.8582, allocations: 0 / 0.8391 GB, free: 0.8633 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.002026/0.8602, allocations: 1.243 MB / 0.8403 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.8603, allocations: 11.81 kB / 0.8404 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.8615, allocations: 218.3 kB / 0.8406 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.8626, allocations: 0.6795 MB / 0.8412 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.8627, allocations: 67.47 kB / 0.8413 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.8628, allocations: 76.66 kB / 0.8414 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.8642, allocations: 0.9334 MB / 0.8423 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.8642, allocations: 10.42 kB / 0.8423 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.8643, allocations: 31.88 kB / 0.8423 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.8643, allocations: 32.66 kB / 0.8423 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/0.8653, allocations: 0.6164 MB / 0.8429 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.004395/0.8697, allocations: 4.577 MB / 0.8474 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/0.8705, allocations: 0.5393 MB / 0.8479 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.8708, allocations: 251.3 kB / 0.8482 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.871, allocations: 100.7 kB / 0.8483 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.8711, allocations: 43.45 kB / 0.8483 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.445e-06/0.8711, allocations: 0 / 0.8483 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.00284/0.8739, allocations: 1.59 MB / 0.8499 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.874, allocations: 112 kB / 0.85 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008439/0.8749, allocations: 0.7196 MB / 0.8507 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.8749, allocations: 32.42 kB / 0.8507 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.8752, allocations: 420.1 kB / 0.8511 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.8754, allocations: 157.1 kB / 0.8513 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.8756, allocations: 120.5 kB / 0.8514 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8757, allocations: 337.6 kB / 0.8517 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.876, allocations: 184.3 kB / 0.8519 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.8764, allocations: 415.9 kB / 0.8523 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.002223/0.8787, allocations: 1.174 MB / 0.8534 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.8787, allocations: 4 kB / 0.8534 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001059/0.8797, allocations: 0.6797 MB / 0.8541 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.8798, allocations: 15.88 kB / 0.8541 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.8798, allocations: 4 kB / 0.8541 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.8798, allocations: 12 kB / 0.8541 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.8803, allocations: 127.8 kB / 0.8542 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.8803, allocations: 8 kB / 0.8542 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006254/0.8809, allocations: 27.92 kB / 0.8543 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.881, allocations: 28 kB / 0.8543 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.0004403/0.8814, allocations: 284.1 kB / 0.8546 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.8816, allocations: 83 kB / 0.8546 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.8818, allocations: 91.66 kB / 0.8547 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.8818, allocations: 4 kB / 0.8547 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.8818, allocations: 0.5625 kB / 0.8547 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007096/0.8826, allocations: 0.7022 MB / 0.8554 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.8849, allocations: 1.641 MB / 0.857 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.8849, allocations: 4.938 kB / 0.857 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.8853, allocations: 103.8 kB / 0.8571 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.8854, allocations: 7.938 kB / 0.8571 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.8854, allocations: 12 kB / 0.8572 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.8854, allocations: 12.45 kB / 0.8572 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8854, allocations: 7.938 kB / 0.8572 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.8865, allocations: 0.8656 MB / 0.858 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.8868, allocations: 204.2 kB / 0.8582 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.8869, allocations: 19.94 kB / 0.8582 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.8874, allocations: 21.55 kB / 0.8583 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.8875, allocations: 39.84 kB / 0.8583 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.8875, allocations: 23.98 kB / 0.8583 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006169/0.8881, allocations: 0.5068 MB / 0.8588 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8882, allocations: 0 / 0.8588 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008013/0.889, allocations: 204 kB / 0.859 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.0004908/0.8895, allocations: 202.2 kB / 0.8592 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008636/0.8903, allocations: 483.3 kB / 0.8597 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8903, allocations: 0 / 0.8597 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.8906, allocations: 210.2 kB / 0.8599 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.002103/0.8927, allocations: 473.5 kB / 0.8603 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.8954, allocations: 1.718 MB / 0.862 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.896, allocations: 1.028 MB / 0.863 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.8963, allocations: 67.42 kB / 0.8631 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/0.8963, allocations: 0 / 0.8631 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.021/0.9173, allocations: 12.99 MB / 0.8757 GB, free: 14.14 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)