Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 102 kB / 16.27 MB, free: 5.859 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.001469/0.001468, allocations: 185.3 kB / 17.19 MB, free: 5.508 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.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8048/0.8048, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 71.88 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3357, allocations: 80.92 MB / 0.5851 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5084/0.8441, allocations: 187.2 MB / 0.7679 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.8575, allocations: 13.07 MB / 0.7807 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.8587, allocations: 34.69 kB / 0.7807 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.8601, allocations: 424.8 kB / 0.7811 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.863, allocations: 1.154 MB / 0.7822 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.8648, allocations: 0.6992 MB / 0.7829 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002257/0.8671, allocations: 2.007 MB / 0.7849 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009137/0.868, allocations: 0.8463 MB / 0.7857 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.8712, allocations: 1.808 MB / 0.7875 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.8726, allocations: 0.6647 MB / 0.7881 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.8728, allocations: 79.38 kB / 0.7882 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.8744, allocations: 0.8654 MB / 0.789 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.8747, allocations: 387.2 kB / 0.7894 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.8753, allocations: 0.499 MB / 0.7899 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.877, allocations: 1.471 MB / 0.7913 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.877, allocations: 0.9688 kB / 0.7913 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.492e-06/0.877, allocations: 3.938 kB / 0.7913 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.877, allocations: 0 / 0.7913 GB, free: 1.156 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001559/0.8786, allocations: 1.233 MB / 0.7926 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.8786, allocations: 11.3 kB / 0.7926 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.8797, allocations: 209.7 kB / 0.7928 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/0.8805, allocations: 0.6418 MB / 0.7934 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.8806, allocations: 62.53 kB / 0.7934 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.562e-05/0.8807, allocations: 78 kB / 0.7935 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.8817, allocations: 0.9371 MB / 0.7944 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.8818, allocations: 5.688 kB / 0.7944 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.8818, allocations: 32.66 kB / 0.7945 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.8819, allocations: 28.66 kB / 0.7945 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/0.8826, allocations: 0.614 MB / 0.7951 GB, free: 15.84 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.003782/0.8864, allocations: 4.601 MB / 0.7996 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.887, allocations: 0.5426 MB / 0.8001 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.8873, allocations: 243.7 kB / 0.8004 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.8875, allocations: 107.1 kB / 0.8005 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.8875, allocations: 39.5 kB / 0.8005 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.8876, allocations: 0 / 0.8005 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002437/0.89, allocations: 1.583 MB / 0.802 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.8901, allocations: 113.6 kB / 0.8022 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.8908, allocations: 0.7141 MB / 0.8028 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.8908, allocations: 35.92 kB / 0.8029 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.8911, allocations: 420.3 kB / 0.8033 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.8912, allocations: 159.8 kB / 0.8034 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.8913, allocations: 121.6 kB / 0.8036 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.8915, allocations: 330.4 kB / 0.8039 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.8917, allocations: 186.4 kB / 0.804 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.8922, allocations: 410.4 kB / 0.8044 GB, free: 10.59 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.894, allocations: 1.178 MB / 0.8056 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8941, allocations: 0 / 0.8056 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008328/0.8949, allocations: 0.6724 MB / 0.8062 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8949, allocations: 8.312 kB / 0.8063 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8949, allocations: 7.906 kB / 0.8063 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.895, allocations: 8.531 kB / 0.8063 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.8954, allocations: 130.4 kB / 0.8064 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.8954, allocations: 16.95 kB / 0.8064 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.8959, allocations: 24.83 kB / 0.8064 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.896, allocations: 27.16 kB / 0.8065 GB, free: 10.17 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003243/0.8963, allocations: 273.5 kB / 0.8067 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.8965, allocations: 93.47 kB / 0.8068 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.8966, allocations: 88.61 kB / 0.8069 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.8966, allocations: 10.66 kB / 0.8069 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.8966, allocations: 1.125 kB / 0.8069 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006277/0.8973, allocations: 0.6915 MB / 0.8076 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.8993, allocations: 1.641 MB / 0.8092 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.8993, allocations: 7.312 kB / 0.8092 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.8997, allocations: 100.8 kB / 0.8093 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.8997, allocations: 8.969 kB / 0.8093 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.8998, allocations: 11.59 kB / 0.8093 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.8998, allocations: 11.5 kB / 0.8093 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/0.8998, allocations: 10.17 kB / 0.8093 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009826/0.9008, allocations: 0.8976 MB / 0.8102 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.9011, allocations: 203.7 kB / 0.8104 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.294e-05/0.9012, allocations: 18.7 kB / 0.8104 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.9016, allocations: 19.45 kB / 0.8104 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.9016, allocations: 36.95 kB / 0.8105 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.9017, allocations: 21.55 kB / 0.8105 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005155/0.9022, allocations: 0.5106 MB / 0.811 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9022, allocations: 1.125 kB / 0.811 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006622/0.9029, allocations: 203.7 kB / 0.8112 GB, free: 8.387 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.000432/0.9033, allocations: 201.3 kB / 0.8114 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007146/0.904, allocations: 0.5123 MB / 0.8119 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.904, allocations: 0 / 0.8119 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.9043, allocations: 211.5 kB / 0.8121 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.9062, allocations: 480.8 kB / 0.8125 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.9084, allocations: 1.727 MB / 0.8142 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.909, allocations: 1.027 MB / 0.8152 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.9092, allocations: 69.09 kB / 0.8153 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.9092, allocations: 0 / 0.8153 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of Templates: time 0.01766/0.9268, allocations: 12.94 MB / 0.8279 GB, free: 2.062 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)