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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001281/0.001281, allocations: 195 kB / 16.14 MB, free: 6.648 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 68.69 kB / 0.5047 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1882, allocations: 80.93 MB / 0.5837 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5393/0.7276, allocations: 188.2 MB / 0.7675 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.7385, allocations: 5.755 MB / 0.7731 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.7404, allocations: 31.81 kB / 0.7731 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.7423, allocations: 0.4974 MB / 0.7736 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006182/0.7485, allocations: 1.723 MB / 0.7753 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.7526, allocations: 1.073 MB / 0.7764 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006064/0.7586, allocations: 4.092 MB / 0.7804 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.7604, allocations: 0.9619 MB / 0.7813 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.7628, allocations: 0.8984 MB / 0.7822 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.7652, allocations: 1.008 MB / 0.7832 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.7654, allocations: 63.94 kB / 0.7832 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.7692, allocations: 1.64 MB / 0.7848 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008867/0.7701, allocations: 0.5103 MB / 0.7853 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.7716, allocations: 0.657 MB / 0.786 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003798/0.7754, allocations: 2.364 MB / 0.7883 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.7754, allocations: 0 / 0.7883 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7754, allocations: 4 kB / 0.7883 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.847e-05/0.7755, allocations: 0 / 0.7883 GB, free: 11.86 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.003184/0.7787, allocations: 1.628 MB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.7787, allocations: 8.031 kB / 0.7899 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.7809, allocations: 326.2 kB / 0.7902 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.7824, allocations: 0.8669 MB / 0.791 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/0.7825, allocations: 74 kB / 0.7911 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.7826, allocations: 103.9 kB / 0.7912 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.7847, allocations: 1.089 MB / 0.7923 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.7847, allocations: 0 / 0.7923 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.7849, allocations: 44 kB / 0.7923 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/0.7849, allocations: 37.98 kB / 0.7923 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.7866, allocations: 0.9876 MB / 0.7933 GB, free: 6.602 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.006452/0.793, allocations: 4.239 MB / 0.7974 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/0.794, allocations: 0.5943 MB / 0.798 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.7945, allocations: 342.5 kB / 0.7984 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.7947, allocations: 101.5 kB / 0.7985 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.7948, allocations: 50.94 kB / 0.7985 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.515e-06/0.7948, allocations: 0 / 0.7985 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004541/0.7993, allocations: 2.193 MB / 0.8006 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.7994, allocations: 59.97 kB / 0.8007 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.8006, allocations: 0.8843 MB / 0.8016 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.6e-05/0.8007, allocations: 41.7 kB / 0.8016 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.8012, allocations: 0.5224 MB / 0.8021 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.8014, allocations: 189.2 kB / 0.8023 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.8016, allocations: 134.6 kB / 0.8024 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8017, allocations: 330 kB / 0.8027 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.8022, allocations: 281.8 kB / 0.803 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.8029, allocations: 454.6 kB / 0.8034 GB, free: 11.68 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.004077/0.8069, allocations: 1.738 MB / 0.8051 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.807, allocations: 0 / 0.8051 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001809/0.8088, allocations: 0.926 MB / 0.806 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.8088, allocations: 11.94 kB / 0.8061 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.8089, allocations: 4 kB / 0.8061 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.8091, allocations: 90.52 kB / 0.8061 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/0.8099, allocations: 171.8 kB / 0.8063 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/0.8138, allocations: 4.294 MB / 0.8105 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.8151, allocations: 70.23 kB / 0.8106 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.8152, allocations: 31.98 kB / 0.8106 GB, free: 3.848 MB / 0.6231 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.0006877/0.8159, allocations: 341.5 kB / 0.8109 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.8162, allocations: 106.8 kB / 0.811 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.8165, allocations: 105.2 kB / 0.8111 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.8165, allocations: 11.94 kB / 0.8111 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.8165, allocations: 0 / 0.8111 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/0.8178, allocations: 0.7614 MB / 0.8119 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.8219, allocations: 1.984 MB / 0.8138 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.8219, allocations: 0 / 0.8138 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007397/0.8226, allocations: 147.8 kB / 0.814 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.8228, allocations: 49.17 kB / 0.814 GB, free: 192 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.8229, allocations: 16 kB / 0.814 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.8243, allocations: 1.48 MB / 0.8155 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.8243, allocations: 4 kB / 0.8155 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.8264, allocations: 1.23 MB / 0.8167 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.8271, allocations: 260 kB / 0.8169 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.8273, allocations: 19.98 kB / 0.8169 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.8284, allocations: 74.02 kB / 0.817 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.8285, allocations: 47.83 kB / 0.8171 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.8286, allocations: 27.98 kB / 0.8171 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001119/0.8298, allocations: 0.62 MB / 0.8177 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8298, allocations: 0 / 0.8177 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001465/0.8312, allocations: 304 kB / 0.818 GB, free: 11.91 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.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.0006711/0.8319, allocations: 192.8 kB / 0.8182 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002173/0.8341, allocations: 1.001 MB / 0.8191 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.8341, allocations: 8.312 kB / 0.8191 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.8349, allocations: 446.1 kB / 0.8196 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/0.8386, allocations: 0.6247 MB / 0.8202 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.8434, allocations: 2.517 MB / 0.8226 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.8449, allocations: 1.166 MB / 0.8238 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001348/0.8463, allocations: 256.4 kB / 0.824 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.8466, allocations: 79.42 kB / 0.8241 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.8466, allocations: 0 / 0.8241 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.03943/0.886, allocations: 21.38 MB / 0.845 GB, free: 452 kB / 0.6544 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)