Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001615/0.001615, allocations: 197.5 kB / 16.26 MB, free: 6.625 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 61.31 kB / 0.5048 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1616, allocations: 80.93 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4836/0.6452, allocations: 187.8 MB / 0.7673 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.6558, allocations: 5.638 MB / 0.7728 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.6574, allocations: 35.75 kB / 0.7729 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.6591, allocations: 0.5014 MB / 0.7733 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004167/0.6633, allocations: 1.506 MB / 0.7748 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.6663, allocations: 1.1 MB / 0.7759 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002993/0.6693, allocations: 2.494 MB / 0.7783 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.6704, allocations: 0.9784 MB / 0.7793 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.6723, allocations: 1.023 MB / 0.7803 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.6742, allocations: 0.8687 MB / 0.7811 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.6744, allocations: 104 kB / 0.7812 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.6773, allocations: 1.59 MB / 0.7828 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.6777, allocations: 0.4987 MB / 0.7833 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.6784, allocations: 0.63 MB / 0.7839 GB, free: 408 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002788/0.6812, allocations: 2.181 MB / 0.786 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.6812, allocations: 0 / 0.786 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6812, allocations: 0 / 0.786 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.6813, allocations: 0 / 0.786 GB, free: 14.21 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002275/0.6835, allocations: 1.488 MB / 0.7875 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6836, allocations: 8.031 kB / 0.7875 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.6855, allocations: 326.3 kB / 0.7878 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.6867, allocations: 0.7688 MB / 0.7885 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.687, allocations: 125.9 kB / 0.7887 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.6872, allocations: 87.94 kB / 0.7887 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.6889, allocations: 1.064 MB / 0.7898 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.6889, allocations: 7.938 kB / 0.7898 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.689, allocations: 36 kB / 0.7898 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.6891, allocations: 37.98 kB / 0.7899 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.6906, allocations: 0.8314 MB / 0.7907 GB, free: 9.316 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.005607/0.6962, allocations: 4.05 MB / 0.7946 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.6969, allocations: 375.4 kB / 0.795 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.6972, allocations: 215.3 kB / 0.7952 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.6974, allocations: 101.7 kB / 0.7953 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.6975, allocations: 38.56 kB / 0.7953 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.174e-06/0.6975, allocations: 0 / 0.7953 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.00264/0.7001, allocations: 1.33 MB / 0.7966 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.7002, allocations: 55.41 kB / 0.7967 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.7015, allocations: 0.9921 MB / 0.7976 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.7016, allocations: 37.7 kB / 0.7977 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.702, allocations: 495.3 kB / 0.7982 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.7021, allocations: 138.1 kB / 0.7983 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.7024, allocations: 122.1 kB / 0.7984 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7025, allocations: 334 kB / 0.7987 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.703, allocations: 229.8 kB / 0.7989 GB, free: 452 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.7037, allocations: 418.9 kB / 0.7993 GB, free: 15.96 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.002491/0.7062, allocations: 1.188 MB / 0.8005 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7062, allocations: 0 / 0.8005 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001507/0.7077, allocations: 0.7515 MB / 0.8012 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.7077, allocations: 11.92 kB / 0.8012 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.7077, allocations: 10.06 kB / 0.8013 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.7078, allocations: 12 kB / 0.8013 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.7084, allocations: 131.8 kB / 0.8014 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.7084, allocations: 15.92 kB / 0.8014 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.7095, allocations: 87.78 kB / 0.8015 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.7096, allocations: 24 kB / 0.8015 GB, free: 13.64 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: 22 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005327/0.7101, allocations: 309.5 kB / 0.8018 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.7103, allocations: 98.81 kB / 0.8019 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.7105, allocations: 109 kB / 0.802 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7105, allocations: 4 kB / 0.802 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7105, allocations: 4 kB / 0.802 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006889/0.7112, allocations: 0.6731 MB / 0.8027 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.7137, allocations: 1.588 MB / 0.8042 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.7138, allocations: 8.062 kB / 0.8042 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.7142, allocations: 92.52 kB / 0.8043 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.7142, allocations: 4 kB / 0.8043 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.7143, allocations: 15.94 kB / 0.8043 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-06/0.7143, allocations: 11.98 kB / 0.8043 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.7143, allocations: 7.938 kB / 0.8044 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.7154, allocations: 0.8516 MB / 0.8052 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.7158, allocations: 239.8 kB / 0.8054 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.716, allocations: 12 kB / 0.8054 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.7167, allocations: 55.89 kB / 0.8055 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.7168, allocations: 39.84 kB / 0.8055 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/0.7168, allocations: 23.98 kB / 0.8055 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00102/0.7178, allocations: 0.7074 MB / 0.8062 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7179, allocations: 0 / 0.8062 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008362/0.7187, allocations: 252 kB / 0.8065 GB, free: 8.27 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004903/0.7192, allocations: 220.2 kB / 0.8067 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.7204, allocations: 0.5291 MB / 0.8072 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7204, allocations: 4 kB / 0.8072 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.7207, allocations: 185.3 kB / 0.8074 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/0.7233, allocations: 0.6259 MB / 0.808 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.7262, allocations: 2.156 MB / 0.8101 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.7269, allocations: 1.099 MB / 0.8112 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008664/0.7277, allocations: 236.2 kB / 0.8114 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.7279, allocations: 75.42 kB / 0.8115 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.7279, allocations: 0 / 0.8115 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of Templates: time 0.03265/0.7606, allocations: 19.68 MB / 0.8307 GB, free: 15.7 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)