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.001212/0.001212, allocations: 106.1 kB / 15.99 MB, free: 6.328 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.001304/0.001304, allocations: 195.7 kB / 16.91 MB, free: 6.176 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8163/0.8163, allocations: 122.9 MB / 413.6 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 64.14 kB / 0.4906 GB, free: 7.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3971, allocations: 77.92 MB / 0.5667 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6012/0.9983, allocations: 188 MB / 0.7503 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009526/1.008, allocations: 5.664 MB / 0.7558 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/1.01, allocations: 35.88 kB / 0.7559 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/1.012, allocations: 0.5071 MB / 0.7563 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006374/1.018, allocations: 1.719 MB / 0.758 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/1.022, allocations: 1.085 MB / 0.7591 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005841/1.028, allocations: 2.957 MB / 0.762 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/1.03, allocations: 1.092 MB / 0.763 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003099/1.033, allocations: 1.061 MB / 0.7641 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/1.036, allocations: 1.04 MB / 0.7651 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000363/1.037, allocations: 124.5 kB / 0.7652 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/1.041, allocations: 1.517 MB / 0.7667 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008663/1.042, allocations: 0.5751 MB / 0.7673 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/1.043, allocations: 0.7297 MB / 0.768 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005066/1.048, allocations: 2.413 MB / 0.7703 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.048, allocations: 0.9688 kB / 0.7703 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/1.048, allocations: 0.5625 kB / 0.7703 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.928e-05/1.048, allocations: 0 / 0.7703 GB, free: 1.41 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.003737/1.052, allocations: 1.617 MB / 0.7719 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/1.052, allocations: 10.95 kB / 0.7719 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/1.054, allocations: 330.2 kB / 0.7722 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/1.056, allocations: 0.8662 MB / 0.7731 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/1.056, allocations: 73.25 kB / 0.7731 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/1.057, allocations: 106.8 kB / 0.7732 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/1.059, allocations: 1.084 MB / 0.7743 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/1.059, allocations: 2.906 kB / 0.7743 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.059, allocations: 46.28 kB / 0.7744 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/1.059, allocations: 41.78 kB / 0.7744 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/1.06, allocations: 0.9867 MB / 0.7754 GB, free: 16.14 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.006401/1.067, allocations: 4.245 MB / 0.7795 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007885/1.068, allocations: 0.5932 MB / 0.7801 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/1.068, allocations: 349.8 kB / 0.7804 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/1.068, allocations: 107 kB / 0.7805 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/1.068, allocations: 43.44 kB / 0.7806 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.978e-06/1.068, allocations: 0.6875 kB / 0.7806 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004451/1.073, allocations: 2.199 MB / 0.7827 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.073, allocations: 58.81 kB / 0.7828 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.074, allocations: 0.8859 MB / 0.7836 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.4e-05/1.074, allocations: 37.58 kB / 0.7837 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/1.074, allocations: 0.5169 MB / 0.7842 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/1.075, allocations: 198.1 kB / 0.7844 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/1.075, allocations: 132 kB / 0.7845 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.075, allocations: 332.4 kB / 0.7848 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/1.075, allocations: 285.2 kB / 0.7851 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/1.076, allocations: 436.6 kB / 0.7855 GB, free: 12.39 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.003643/1.08, allocations: 1.746 MB / 0.7872 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.08, allocations: 0 / 0.7872 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001514/1.081, allocations: 0.9248 MB / 0.7881 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.081, allocations: 12.81 kB / 0.7881 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.081, allocations: 5.125 kB / 0.7881 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/1.081, allocations: 95.17 kB / 0.7882 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/1.082, allocations: 168.8 kB / 0.7884 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/1.086, allocations: 4.624 MB / 0.7929 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.087, allocations: 80.02 kB / 0.793 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/1.087, allocations: 25.53 kB / 0.793 GB, free: 7.953 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 system: 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.0007731/1.088, allocations: 349.9 kB / 0.7933 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/1.088, allocations: 98.56 kB / 0.7934 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/1.088, allocations: 113.4 kB / 0.7935 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.088, allocations: 7.125 kB / 0.7935 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.088, allocations: 0 / 0.7935 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/1.089, allocations: 0.7658 MB / 0.7943 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/1.093, allocations: 1.98 MB / 0.7962 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.093, allocations: 3.594 kB / 0.7962 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/1.093, allocations: 144.5 kB / 0.7963 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/1.094, allocations: 46.05 kB / 0.7964 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/1.094, allocations: 24.36 kB / 0.7964 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/1.095, allocations: 1.598 MB / 0.798 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.095, allocations: 6.25 kB / 0.798 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/1.097, allocations: 1.221 MB / 0.7992 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/1.098, allocations: 250.2 kB / 0.7994 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/1.098, allocations: 14.94 kB / 0.7994 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/1.098, allocations: 74.25 kB / 0.7995 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.099, allocations: 49.75 kB / 0.7995 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/1.099, allocations: 31.34 kB / 0.7996 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008474/1.1, allocations: 0.6143 MB / 0.8002 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.1, allocations: 0 / 0.8002 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00124/1.101, allocations: 309.4 kB / 0.8005 GB, free: 5.145 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.0005766/1.101, allocations: 192.9 kB / 0.8007 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00193/1.103, allocations: 1.113 MB / 0.8017 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.103, allocations: 0.6875 kB / 0.8017 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006224/1.104, allocations: 450.9 kB / 0.8022 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/1.107, allocations: 0.6539 MB / 0.8028 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/1.111, allocations: 2.53 MB / 0.8053 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009472/1.112, allocations: 1.168 MB / 0.8064 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001254/1.113, allocations: 246 kB / 0.8067 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/1.114, allocations: 73.59 kB / 0.8067 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/1.114, allocations: 0 / 0.8067 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of Templates: time 0.04321/1.157, allocations: 22.1 MB / 0.8283 GB, free: 4.539 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)