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.001151/0.001152, allocations: 112.4 kB / 16.41 MB, free: 6.469 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.001207/0.001207, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8581/0.8581, allocations: 126.1 MB / 417.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 63.27 kB / 0.5731 GB, free: 27.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2077, allocations: 78.7 MB / 0.65 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6238/0.8316, allocations: 190.5 MB / 0.836 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.8419, allocations: 5.696 MB / 0.8415 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.844, allocations: 41 kB / 0.8416 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.8459, allocations: 0.5778 MB / 0.8421 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005884/0.8518, allocations: 1.836 MB / 0.8439 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.8556, allocations: 1.18 MB / 0.8451 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005349/0.8609, allocations: 2.946 MB / 0.8479 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.8625, allocations: 1.126 MB / 0.849 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.865, allocations: 1.051 MB / 0.8501 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.8669, allocations: 0.9658 MB / 0.851 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.8671, allocations: 122.5 kB / 0.8511 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/0.8708, allocations: 1.443 MB / 0.8525 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.8714, allocations: 0.5715 MB / 0.8531 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000941/0.8724, allocations: 0.7244 MB / 0.8538 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003824/0.8762, allocations: 2.34 MB / 0.8561 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8762, allocations: 0 / 0.8561 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8763, allocations: 0 / 0.8561 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.8763, allocations: 4 kB / 0.8561 GB, free: 1.516 MB / 0.6075 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.002656/0.8789, allocations: 1.659 MB / 0.8577 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.879, allocations: 8.031 kB / 0.8577 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.881, allocations: 338.9 kB / 0.858 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.8824, allocations: 0.9299 MB / 0.8589 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.8825, allocations: 70 kB / 0.859 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.8826, allocations: 99.75 kB / 0.8591 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.8844, allocations: 1.081 MB / 0.8602 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.8845, allocations: 4 kB / 0.8602 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.8846, allocations: 43.98 kB / 0.8602 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.8846, allocations: 38 kB / 0.8602 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.8862, allocations: 0.9954 MB / 0.8612 GB, free: 12.23 MB / 0.6231 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.005872/0.8921, allocations: 4.233 MB / 0.8654 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008731/0.893, allocations: 0.6013 MB / 0.8659 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.8935, allocations: 342.5 kB / 0.8663 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.8937, allocations: 101.5 kB / 0.8664 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.8938, allocations: 47 kB / 0.8664 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/0.8938, allocations: 0 / 0.8664 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.004096/0.8979, allocations: 2.218 MB / 0.8686 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.898, allocations: 59.97 kB / 0.8686 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.8991, allocations: 0.8882 MB / 0.8695 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.8992, allocations: 37.7 kB / 0.8695 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.8996, allocations: 0.5312 MB / 0.8701 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.8998, allocations: 206.2 kB / 0.8703 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.9, allocations: 134.6 kB / 0.8704 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9002, allocations: 334 kB / 0.8707 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.9007, allocations: 281.8 kB / 0.871 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.9012, allocations: 433 kB / 0.8714 GB, free: 1.27 MB / 0.6231 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.003916/0.9052, allocations: 1.745 MB / 0.8731 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.9052, allocations: 4 kB / 0.8731 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001628/0.9068, allocations: 0.9305 MB / 0.874 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.9069, allocations: 7.938 kB / 0.874 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.9069, allocations: 4 kB / 0.874 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.9071, allocations: 98.45 kB / 0.8741 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/0.9078, allocations: 163.9 kB / 0.8743 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/0.9116, allocations: 4.638 MB / 0.8788 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.9126, allocations: 36.08 kB / 0.8788 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.9127, allocations: 34.56 kB / 0.8789 GB, free: 9.102 MB / 0.6387 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.0006099/0.9133, allocations: 341.6 kB / 0.8792 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.9135, allocations: 107.3 kB / 0.8793 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.9137, allocations: 105.2 kB / 0.8794 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.9137, allocations: 8 kB / 0.8794 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.9137, allocations: 4 kB / 0.8794 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/0.9148, allocations: 0.773 MB / 0.8801 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.9179, allocations: 1.981 MB / 0.8821 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.9179, allocations: 4 kB / 0.8821 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.9185, allocations: 143.8 kB / 0.8822 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.9187, allocations: 40.84 kB / 0.8823 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.9187, allocations: 15.98 kB / 0.8823 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.9201, allocations: 1.606 MB / 0.8838 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.9202, allocations: 7.938 kB / 0.8839 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.922, allocations: 1.22 MB / 0.885 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.9225, allocations: 260.4 kB / 0.8853 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.9226, allocations: 23.98 kB / 0.8853 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.9233, allocations: 29.56 kB / 0.8853 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.9234, allocations: 51.81 kB / 0.8854 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/0.9235, allocations: 31.98 kB / 0.8854 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008309/0.9243, allocations: 0.6083 MB / 0.886 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9243, allocations: 4 kB / 0.886 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001043/0.9254, allocations: 307.9 kB / 0.8863 GB, free: 1.074 MB / 0.6387 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.0005077/0.9259, allocations: 202.9 kB / 0.8865 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.9275, allocations: 1.007 MB / 0.8875 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.9275, allocations: 256 / 0.8875 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006421/0.9281, allocations: 446.2 kB / 0.8879 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.9307, allocations: 0.6494 MB / 0.8886 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.934, allocations: 2.12 MB / 0.8906 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.9348, allocations: 1.17 MB / 0.8918 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008098/0.9356, allocations: 248.4 kB / 0.892 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.9358, allocations: 87.36 kB / 0.8921 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of SimCode: time 6.62e-07/0.9358, allocations: 0 / 0.8921 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.03667/0.9725, allocations: 22.43 MB / 0.914 GB, free: 4.871 MB / 0.67 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)