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.001217/0.001217, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001382/0.001382, allocations: 191.7 kB / 16.25 MB, free: 6.633 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.397/1.397, allocations: 222.9 MB / 239.9 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.066/1.066, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 64.56 kB / 0.5049 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1669, allocations: 80.93 MB / 0.5839 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5413/0.7083, allocations: 184.8 MB / 0.7644 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.7288, allocations: 12.95 MB / 0.777 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.7306, allocations: 27.81 kB / 0.777 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.7324, allocations: 366 kB / 0.7774 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003971/0.7365, allocations: 1.081 MB / 0.7784 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.7386, allocations: 0.6368 MB / 0.7791 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003064/0.7417, allocations: 2.009 MB / 0.781 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.7432, allocations: 0.8217 MB / 0.7818 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/0.7477, allocations: 1.771 MB / 0.7836 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.7495, allocations: 0.7021 MB / 0.7842 GB, free: 288 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.7496, allocations: 80 kB / 0.7843 GB, free: 208 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.7515, allocations: 0.9079 MB / 0.7852 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.7519, allocations: 379 kB / 0.7856 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.7524, allocations: 0.5015 MB / 0.7861 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.7542, allocations: 1.531 MB / 0.7876 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7542, allocations: 0 / 0.7876 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7542, allocations: 0 / 0.7876 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.7543, allocations: 0 / 0.7876 GB, free: 12.88 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001695/0.756, allocations: 1.238 MB / 0.7888 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.756, allocations: 8.031 kB / 0.7888 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.7572, allocations: 226.5 kB / 0.789 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.7581, allocations: 0.6402 MB / 0.7896 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.7582, allocations: 54 kB / 0.7897 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.7583, allocations: 79.98 kB / 0.7897 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.7596, allocations: 0.9444 MB / 0.7907 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.7597, allocations: 0 / 0.7907 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.7597, allocations: 35.94 kB / 0.7907 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.7598, allocations: 33.25 kB / 0.7907 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009069/0.7607, allocations: 0.6099 MB / 0.7913 GB, free: 8.848 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.004164/0.7649, allocations: 4.582 MB / 0.7958 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.7656, allocations: 0.5357 MB / 0.7963 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.7659, allocations: 249 kB / 0.7966 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.7661, allocations: 101.1 kB / 0.7967 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.7662, allocations: 42.55 kB / 0.7967 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.7662, allocations: 0 / 0.7967 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002702/0.7689, allocations: 1.582 MB / 0.7982 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.7689, allocations: 110.8 kB / 0.7983 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007659/0.7697, allocations: 0.7155 MB / 0.799 GB, free: 488 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.7698, allocations: 33.7 kB / 0.7991 GB, free: 448 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.7701, allocations: 423.7 kB / 0.7995 GB, free: 20 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.7702, allocations: 161.8 kB / 0.7996 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.7704, allocations: 130.2 kB / 0.7998 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7705, allocations: 326 kB / 0.8001 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.7708, allocations: 190.5 kB / 0.8002 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.7712, allocations: 405.1 kB / 0.8006 GB, free: 14.73 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.7734, allocations: 1.183 MB / 0.8018 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7734, allocations: 4 kB / 0.8018 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009695/0.7744, allocations: 0.668 MB / 0.8024 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.7744, allocations: 8 kB / 0.8025 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.7744, allocations: 8 kB / 0.8025 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.7744, allocations: 8 kB / 0.8025 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.7749, allocations: 131.8 kB / 0.8026 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.7749, allocations: 12 kB / 0.8026 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.7755, allocations: 56.22 kB / 0.8027 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.7756, allocations: 24 kB / 0.8027 GB, free: 12.52 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: 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.0003807/0.776, allocations: 273.5 kB / 0.8029 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.7761, allocations: 83 kB / 0.803 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.7763, allocations: 95.66 kB / 0.8031 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.7763, allocations: 4 kB / 0.8031 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7763, allocations: 4 kB / 0.8031 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007165/0.7771, allocations: 0.6911 MB / 0.8038 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.7795, allocations: 1.646 MB / 0.8054 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.7795, allocations: 4 kB / 0.8054 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.7799, allocations: 103.8 kB / 0.8055 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.78, allocations: 4 kB / 0.8055 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.78, allocations: 19.98 kB / 0.8055 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.78, allocations: 8 kB / 0.8055 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.78, allocations: 7.938 kB / 0.8055 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.7811, allocations: 0.887 MB / 0.8064 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.7814, allocations: 212.5 kB / 0.8066 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.7815, allocations: 12 kB / 0.8066 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/0.782, allocations: 43.88 kB / 0.8067 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.7821, allocations: 39.84 kB / 0.8067 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.7821, allocations: 27.48 kB / 0.8067 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006123/0.7827, allocations: 0.5068 MB / 0.8072 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7827, allocations: 0 / 0.8072 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008119/0.7836, allocations: 208 kB / 0.8074 GB, free: 7.391 MB / 0.6231 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.0005031/0.7841, allocations: 203.1 kB / 0.8076 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009044/0.785, allocations: 0.513 MB / 0.8081 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.785, allocations: 0 / 0.8081 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.7853, allocations: 216.5 kB / 0.8083 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.7873, allocations: 484.6 kB / 0.8088 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.7898, allocations: 1.93 MB / 0.8107 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.7904, allocations: 1.032 MB / 0.8117 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006425/0.7911, allocations: 203 kB / 0.8119 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.7912, allocations: 63.44 kB / 0.8119 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.7912, allocations: 0 / 0.8119 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of Templates: time 0.02712/0.8184, allocations: 14.98 MB / 0.8266 GB, free: 3.969 MB / 0.6387 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)