Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001763/0.001763, allocations: 106.3 kB / 16.41 MB, free: 6.441 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.00175/0.00175, allocations: 185.7 kB / 17.34 MB, free: 5.711 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.54/1.54, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8556/0.8556, allocations: 135.2 MB / 426.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 59.84 kB / 0.5864 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1623, allocations: 80.93 MB / 0.6654 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5961/0.7585, allocations: 190.9 MB / 0.8519 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.769, allocations: 5.713 MB / 0.8575 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.7708, allocations: 40.97 kB / 0.8575 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.7727, allocations: 0.6022 MB / 0.8581 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005454/0.7782, allocations: 1.893 MB / 0.8599 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.7816, allocations: 1.187 MB / 0.8611 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004579/0.7862, allocations: 2.958 MB / 0.864 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.7879, allocations: 0.9401 MB / 0.8649 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.7903, allocations: 1.113 MB / 0.866 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.7927, allocations: 0.9633 MB / 0.8669 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000282/0.793, allocations: 120 kB / 0.8671 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.7965, allocations: 1.458 MB / 0.8685 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007663/0.7973, allocations: 0.5765 MB / 0.869 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.7984, allocations: 0.7234 MB / 0.8697 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.8027, allocations: 2.359 MB / 0.872 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8027, allocations: 3.938 kB / 0.8721 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8027, allocations: 0 / 0.8721 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.199e-05/0.8028, allocations: 0 / 0.8721 GB, free: 11.56 MB / 0.6387 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.003182/0.806, allocations: 1.65 MB / 0.8737 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.806, allocations: 9.109 kB / 0.8737 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.8081, allocations: 334.9 kB / 0.874 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.8099, allocations: 0.9182 MB / 0.8749 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/0.81, allocations: 89.86 kB / 0.875 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.8102, allocations: 100 kB / 0.8751 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.8122, allocations: 1.081 MB / 0.8761 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.8123, allocations: 0 / 0.8761 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.8124, allocations: 44.69 kB / 0.8762 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.8124, allocations: 37.98 kB / 0.8762 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.8143, allocations: 0.9876 MB / 0.8772 GB, free: 6.215 MB / 0.6387 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.007132/0.8214, allocations: 4.225 MB / 0.8813 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009835/0.8224, allocations: 0.5645 MB / 0.8818 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.8229, allocations: 320.3 kB / 0.8821 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.8231, allocations: 105.5 kB / 0.8823 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.8232, allocations: 44.06 kB / 0.8823 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.855e-06/0.8232, allocations: 0 / 0.8823 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.004795/0.828, allocations: 2.214 MB / 0.8845 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.828, allocations: 59.97 kB / 0.8845 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.8294, allocations: 0.8804 MB / 0.8854 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.303e-05/0.8295, allocations: 41.7 kB / 0.8854 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.83, allocations: 0.5313 MB / 0.8859 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.8302, allocations: 202.2 kB / 0.8861 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.8305, allocations: 134.6 kB / 0.8863 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.8306, allocations: 337.9 kB / 0.8866 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.8312, allocations: 285.8 kB / 0.8868 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/0.8319, allocations: 449 kB / 0.8873 GB, free: 11.32 MB / 0.6544 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.004193/0.8361, allocations: 1.737 MB / 0.889 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.8361, allocations: 0 / 0.889 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001921/0.8381, allocations: 0.9338 MB / 0.8899 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.8381, allocations: 4 kB / 0.8899 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.8381, allocations: 4 kB / 0.8899 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/0.8384, allocations: 103 kB / 0.89 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/0.8391, allocations: 163.7 kB / 0.8901 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00463/0.8437, allocations: 4.64 MB / 0.8947 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.8448, allocations: 37.47 kB / 0.8947 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.8449, allocations: 24 kB / 0.8947 GB, free: 3.168 MB / 0.6544 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.000644/0.8455, allocations: 344.7 kB / 0.8951 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.8457, allocations: 111.4 kB / 0.8952 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.8459, allocations: 109.2 kB / 0.8953 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8459, allocations: 4 kB / 0.8953 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8459, allocations: 0 / 0.8953 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/0.8472, allocations: 0.773 MB / 0.896 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.8505, allocations: 1.981 MB / 0.898 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.8505, allocations: 4 kB / 0.898 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/0.8512, allocations: 147.8 kB / 0.8981 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.8513, allocations: 50.11 kB / 0.8982 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.8514, allocations: 16 kB / 0.8982 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.8529, allocations: 1.61 MB / 0.8997 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8529, allocations: 4 kB / 0.8998 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.8549, allocations: 1.244 MB / 0.901 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/0.8554, allocations: 256.5 kB / 0.9012 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.8556, allocations: 15.98 kB / 0.9012 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.8563, allocations: 27.98 kB / 0.9013 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.8564, allocations: 47.88 kB / 0.9013 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.014e-05/0.8565, allocations: 43.86 kB / 0.9013 GB, free: 12.03 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009231/0.8574, allocations: 0.6083 MB / 0.9019 GB, free: 11.42 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8574, allocations: 0 / 0.9019 GB, free: 11.42 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009837/0.8584, allocations: 300 kB / 0.9022 GB, free: 11.13 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.000546/0.8589, allocations: 193.8 kB / 0.9024 GB, free: 10.94 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.8606, allocations: 0.991 MB / 0.9034 GB, free: 9.906 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.8607, allocations: 7.906 kB / 0.9034 GB, free: 9.898 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.8613, allocations: 427.7 kB / 0.9038 GB, free: 9.469 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.8644, allocations: 0.6523 MB / 0.9044 GB, free: 8.828 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.8682, allocations: 2.186 MB / 0.9066 GB, free: 6.562 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009357/0.8691, allocations: 1.17 MB / 0.9077 GB, free: 5.363 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.8694, allocations: 79.44 kB / 0.9078 GB, free: 5.285 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/0.8694, allocations: 3.938 kB / 0.9078 GB, free: 5.281 MB / 0.67 GB Notification: Performance of Templates: time 0.03992/0.9094, allocations: 27.18 MB / 0.9343 GB, free: 10.21 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)