Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009328/0.0009327, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.000986/0.0009862, allocations: 179.9 kB / 17.58 MB, free: 6.188 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.366/1.366, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7461/0.7461, allocations: 115.5 MB / 408.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4787, allocations: 77.52 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2143/0.6931, allocations: 185.7 MB / 0.742 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009364/0.7025, allocations: 5.711 MB / 0.7475 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.7039, allocations: 31.81 kB / 0.7476 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.7054, allocations: 0.4975 MB / 0.7481 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.7102, allocations: 1.723 MB / 0.7497 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4347/1.145, allocations: 1.071 MB / 0.7508 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008155/1.153, allocations: 4.085 MB / 0.7548 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/1.156, allocations: 0.9288 MB / 0.7557 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/1.159, allocations: 0.8648 MB / 0.7565 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/1.162, allocations: 0.9569 MB / 0.7575 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000295/1.163, allocations: 45.81 kB / 0.7575 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004806/1.168, allocations: 1.627 MB / 0.7591 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/1.169, allocations: 496.6 kB / 0.7596 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001679/1.17, allocations: 0.6566 MB / 0.7602 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004011/1.174, allocations: 1.737 MB / 0.7619 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.174, allocations: 0 / 0.7619 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.585e-06/1.174, allocations: 0 / 0.7619 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.062e-05/1.174, allocations: 0 / 0.7619 GB, free: 3.777 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00354/1.178, allocations: 1.368 MB / 0.7632 GB, free: 19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.178, allocations: 10.06 kB / 0.7633 GB, free: 19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/1.18, allocations: 329.8 kB / 0.7636 GB, free: 18.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/1.182, allocations: 0.8693 MB / 0.7644 GB, free: 18.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/1.182, allocations: 74.97 kB / 0.7645 GB, free: 18.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/1.182, allocations: 99.53 kB / 0.7646 GB, free: 18.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/1.185, allocations: 1.096 MB / 0.7657 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/1.185, allocations: 0.5938 kB / 0.7657 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.185, allocations: 44.28 kB / 0.7657 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.793e-05/1.185, allocations: 42.14 kB / 0.7657 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/1.187, allocations: 1.006 MB / 0.7667 GB, free: 18.52 MB / 0.5919 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.007289/1.194, allocations: 4.26 MB / 0.7709 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.195, allocations: 0.5969 MB / 0.7715 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000645/1.196, allocations: 345.4 kB / 0.7718 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/1.196, allocations: 102.5 kB / 0.7719 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/1.196, allocations: 50.16 kB / 0.7719 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.647e-06/1.196, allocations: 0 / 0.7719 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.005248/1.202, allocations: 2.228 MB / 0.7741 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.128e-05/1.202, allocations: 65.59 kB / 0.7742 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/1.203, allocations: 0.8825 MB / 0.775 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.885e-05/1.203, allocations: 36.95 kB / 0.7751 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/1.204, allocations: 0.515 MB / 0.7756 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/1.204, allocations: 197.9 kB / 0.7758 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/1.204, allocations: 62.16 kB / 0.7758 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.204, allocations: 333.8 kB / 0.7761 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/1.205, allocations: 289 kB / 0.7764 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/1.206, allocations: 440.8 kB / 0.7768 GB, free: 14.75 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/1.209, allocations: 1.783 MB / 0.7786 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.209, allocations: 0 / 0.7786 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001591/1.211, allocations: 0.9315 MB / 0.7795 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.211, allocations: 6.75 kB / 0.7795 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.211, allocations: 7.125 kB / 0.7795 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/1.211, allocations: 99.72 kB / 0.7796 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/1.212, allocations: 177.5 kB / 0.7798 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/1.216, allocations: 4.289 MB / 0.784 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/1.217, allocations: 70.91 kB / 0.784 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/1.217, allocations: 30.02 kB / 0.7841 GB, free: 10.53 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007676/1.218, allocations: 348.2 kB / 0.7844 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/1.218, allocations: 105 kB / 0.7845 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/1.218, allocations: 109 kB / 0.7846 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.218, allocations: 11.53 kB / 0.7846 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.218, allocations: 3.094 kB / 0.7846 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/1.219, allocations: 0.7736 MB / 0.7854 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/1.223, allocations: 1.995 MB / 0.7873 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.223, allocations: 9.875 kB / 0.7873 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/1.223, allocations: 154.3 kB / 0.7875 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/1.224, allocations: 38.84 kB / 0.7875 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/1.224, allocations: 22.8 kB / 0.7875 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/1.225, allocations: 1.483 MB / 0.789 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.225, allocations: 6.219 kB / 0.789 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/1.227, allocations: 1.224 MB / 0.7902 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/1.227, allocations: 259.9 kB / 0.7904 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.228, allocations: 14 kB / 0.7904 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/1.228, allocations: 71.48 kB / 0.7905 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.229, allocations: 51.77 kB / 0.7906 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/1.229, allocations: 32.44 kB / 0.7906 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008272/1.229, allocations: 0.6134 MB / 0.7912 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.71e-07/1.229, allocations: 0 / 0.7912 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001126/1.231, allocations: 305.7 kB / 0.7915 GB, free: 7.77 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005126/1.231, allocations: 193 kB / 0.7917 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001593/1.233, allocations: 1.011 MB / 0.7926 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.233, allocations: 1 kB / 0.7926 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006007/1.233, allocations: 458.1 kB / 0.7931 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/1.237, allocations: 0.6241 MB / 0.7937 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/1.241, allocations: 2.691 MB / 0.7963 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008042/1.242, allocations: 1.168 MB / 0.7975 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/1.242, allocations: 84.22 kB / 0.7975 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of SimCode: time 8.81e-07/1.242, allocations: 0 / 0.7975 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of Templates: time 0.04259/1.284, allocations: 26.81 MB / 0.8237 GB, free: 7.16 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)