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.001082/0.001082, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001595/0.001596, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.3 MB / 426.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 15.88 kB / 0.507 GB, free: 5.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 82.31 MB / 0.5874 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5818/0.7695, allocations: 173.3 MB / 0.7566 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.7806, allocations: 5.375 MB / 0.7618 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.7826, allocations: 39.69 kB / 0.7619 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.7845, allocations: 393.5 kB / 0.7622 GB, free: 9.883 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005103/0.7896, allocations: 1.357 MB / 0.7636 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.793, allocations: 0.8537 MB / 0.7644 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00549/0.7985, allocations: 3.439 MB / 0.7678 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.8005, allocations: 0.804 MB / 0.7685 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.8031, allocations: 0.8829 MB / 0.7694 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.8055, allocations: 0.9107 MB / 0.7703 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004032/0.8059, allocations: 44 kB / 0.7703 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/0.8092, allocations: 0.7093 MB / 0.771 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.8103, allocations: 498.6 kB / 0.7715 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009545/0.8112, allocations: 281.1 kB / 0.7718 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.8144, allocations: 1.633 MB / 0.7734 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.8144, allocations: 0 / 0.7734 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8144, allocations: 0 / 0.7734 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.7e-05/0.8145, allocations: 0 / 0.7734 GB, free: 14.45 MB / 0.5919 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.003593/0.8181, allocations: 1.386 MB / 0.7747 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.8182, allocations: 8.031 kB / 0.7747 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.8206, allocations: 326.2 kB / 0.775 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.8228, allocations: 0.8479 MB / 0.7759 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.8229, allocations: 74 kB / 0.7759 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.8232, allocations: 104 kB / 0.776 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.8257, allocations: 1.077 MB / 0.7771 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.8257, allocations: 0 / 0.7771 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.8258, allocations: 44 kB / 0.7771 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/0.8259, allocations: 45.97 kB / 0.7772 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.8277, allocations: 0.9954 MB / 0.7781 GB, free: 9.457 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.007238/0.835, allocations: 4.243 MB / 0.7823 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.836, allocations: 0.6061 MB / 0.7829 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.8365, allocations: 346.5 kB / 0.7832 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.8368, allocations: 105.5 kB / 0.7833 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.8368, allocations: 43 kB / 0.7834 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/0.8368, allocations: 4 kB / 0.7834 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004506/0.8413, allocations: 2.216 MB / 0.7855 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.8414, allocations: 59.97 kB / 0.7856 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.8426, allocations: 0.8726 MB / 0.7864 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/0.8427, allocations: 37.7 kB / 0.7865 GB, free: 472 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.8431, allocations: 0.5146 MB / 0.787 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.8434, allocations: 201.1 kB / 0.7872 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.8434, allocations: 16 kB / 0.7872 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8435, allocations: 341.9 kB / 0.7875 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.8441, allocations: 289.8 kB / 0.7878 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.8447, allocations: 450.6 kB / 0.7882 GB, free: 14.61 MB / 0.6075 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.002962/0.8476, allocations: 1.096 MB / 0.7893 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.8477, allocations: 0 / 0.7893 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001876/0.8496, allocations: 0.9257 MB / 0.7902 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.8496, allocations: 8.5 kB / 0.7902 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.8496, allocations: 4 kB / 0.7902 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.8499, allocations: 98.52 kB / 0.7903 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/0.8507, allocations: 171.8 kB / 0.7905 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.8542, allocations: 4.285 MB / 0.7946 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.8553, allocations: 71.2 kB / 0.7947 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.8555, allocations: 28 kB / 0.7947 GB, free: 7.492 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007272/0.8562, allocations: 342.1 kB / 0.7951 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.8565, allocations: 98.88 kB / 0.7952 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.8568, allocations: 113.2 kB / 0.7953 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.8568, allocations: 11.94 kB / 0.7953 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8568, allocations: 0.5 kB / 0.7953 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/0.858, allocations: 0.7731 MB / 0.796 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.8618, allocations: 1.996 MB / 0.798 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.8618, allocations: 0.5 kB / 0.798 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/0.8625, allocations: 155.8 kB / 0.7981 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.8626, allocations: 44.95 kB / 0.7982 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.8627, allocations: 19.94 kB / 0.7982 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.864, allocations: 1.48 MB / 0.7996 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.864, allocations: 7.953 kB / 0.7996 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.8661, allocations: 1.25 MB / 0.8009 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007128/0.8668, allocations: 251.9 kB / 0.8011 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/0.867, allocations: 12 kB / 0.8011 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009937/0.868, allocations: 73.23 kB / 0.8012 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.8682, allocations: 51.84 kB / 0.8012 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.813e-05/0.8683, allocations: 35.97 kB / 0.8013 GB, free: 432 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001058/0.8693, allocations: 0.6005 MB / 0.8019 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8694, allocations: 0 / 0.8019 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001467/0.8708, allocations: 308 kB / 0.8021 GB, free: 15.52 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006795/0.8715, allocations: 211.7 kB / 0.8023 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.8734, allocations: 1.011 MB / 0.8033 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.8734, allocations: 4 kB / 0.8033 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006878/0.8741, allocations: 446.3 kB / 0.8038 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/0.8775, allocations: 0.6236 MB / 0.8044 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/0.8822, allocations: 2.509 MB / 0.8068 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.8834, allocations: 1.17 MB / 0.808 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001242/0.8847, allocations: 244.4 kB / 0.8082 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.885, allocations: 79.42 kB / 0.8083 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of SimCode: time 1.313e-06/0.885, allocations: 0 / 0.8083 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of Templates: time 0.03913/0.9242, allocations: 20.62 MB / 0.8284 GB, free: 4.801 MB / 0.6387 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)