Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008596/0.0008598, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006525/0.006526, allocations: 169 kB / 16.26 MB, free: 6.652 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.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7699/0.7699, allocations: 132.4 MB / 423.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8.562 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.494, allocations: 81.58 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2185/0.7126, allocations: 182.6 MB / 0.762 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01983/0.7324, allocations: 12.94 MB / 0.7746 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.734, allocations: 31.81 kB / 0.7746 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.7359, allocations: 357.9 kB / 0.775 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003905/0.7398, allocations: 1.093 MB / 0.7761 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.7421, allocations: 0.6252 MB / 0.7767 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00381/0.7459, allocations: 2.763 MB / 0.7794 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.7474, allocations: 0.6947 MB / 0.78 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005543/0.753, allocations: 1.623 MB / 0.7816 GB, free: 5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.7551, allocations: 0.6626 MB / 0.7823 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.7553, allocations: 36 kB / 0.7823 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.7579, allocations: 0.9742 MB / 0.7833 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005496/0.7585, allocations: 331 kB / 0.7836 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.7595, allocations: 479.2 kB / 0.784 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.7631, allocations: 1.464 MB / 0.7855 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.7631, allocations: 4 kB / 0.7855 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.765e-06/0.7631, allocations: 7.938 kB / 0.7855 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.405e-05/0.7632, allocations: 0 / 0.7855 GB, free: 1.051 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.002968/0.7662, allocations: 1.044 MB / 0.7865 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.7663, allocations: 8.031 kB / 0.7865 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.7679, allocations: 214.6 kB / 0.7867 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.7695, allocations: 0.6364 MB / 0.7873 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.7696, allocations: 58 kB / 0.7874 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.7697, allocations: 79.91 kB / 0.7875 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.7714, allocations: 0.938 MB / 0.7884 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/0.7715, allocations: 4 kB / 0.7884 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.7716, allocations: 36 kB / 0.7884 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-05/0.7716, allocations: 29.31 kB / 0.7884 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.7727, allocations: 0.6138 MB / 0.789 GB, free: 13.22 MB / 0.6231 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.005095/0.7778, allocations: 4.593 MB / 0.7935 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/0.7786, allocations: 0.5325 MB / 0.794 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.779, allocations: 242.5 kB / 0.7943 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.7792, allocations: 112.9 kB / 0.7944 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.7792, allocations: 47.25 kB / 0.7944 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.494e-06/0.7792, allocations: 4 kB / 0.7944 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.00318/0.7824, allocations: 1.578 MB / 0.796 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.7825, allocations: 110.8 kB / 0.7961 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008944/0.7834, allocations: 0.7196 MB / 0.7968 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.7835, allocations: 37.7 kB / 0.7968 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.7838, allocations: 411.8 kB / 0.7972 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.7839, allocations: 161.7 kB / 0.7974 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.784, allocations: 53.69 kB / 0.7974 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.7841, allocations: 334 kB / 0.7977 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.7844, allocations: 185.2 kB / 0.7979 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.785, allocations: 417 kB / 0.7983 GB, free: 3.137 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.002278/0.7872, allocations: 1.164 MB / 0.7994 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7873, allocations: 0 / 0.7994 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001047/0.7883, allocations: 0.6791 MB / 0.8001 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.7884, allocations: 8 kB / 0.8001 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7884, allocations: 11.94 kB / 0.8001 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.7884, allocations: 8 kB / 0.8001 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.7889, allocations: 123.8 kB / 0.8003 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.7889, allocations: 16.52 kB / 0.8003 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006845/0.7896, allocations: 55.81 kB / 0.8003 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.7897, allocations: 24 kB / 0.8003 GB, free: 0.9414 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 sytem: 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.0004126/0.7901, allocations: 277.5 kB / 0.8006 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.7903, allocations: 83.16 kB / 0.8007 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.7905, allocations: 95.66 kB / 0.8008 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.7905, allocations: 7.984 kB / 0.8008 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.7905, allocations: 0 / 0.8008 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007208/0.7912, allocations: 0.696 MB / 0.8015 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.7938, allocations: 1.647 MB / 0.8031 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.7938, allocations: 4 kB / 0.8031 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.7943, allocations: 99.89 kB / 0.8032 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-06/0.7943, allocations: 4 kB / 0.8032 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.7943, allocations: 19.94 kB / 0.8032 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.7943, allocations: 8 kB / 0.8032 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.7943, allocations: 8.391 kB / 0.8032 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.7955, allocations: 0.9055 MB / 0.8041 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.7958, allocations: 200.2 kB / 0.8043 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7959, allocations: 15.98 kB / 0.8043 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.7964, allocations: 35.83 kB / 0.8043 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.7965, allocations: 39.89 kB / 0.8044 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.7965, allocations: 23.94 kB / 0.8044 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006647/0.7972, allocations: 0.5107 MB / 0.8049 GB, free: 12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7972, allocations: 4 kB / 0.8049 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008125/0.798, allocations: 200 kB / 0.8051 GB, free: 11.8 MB / 0.6387 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.0005281/0.7986, allocations: 203.6 kB / 0.8053 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008503/0.7994, allocations: 469.5 kB / 0.8057 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.7995, allocations: 7.938 kB / 0.8057 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.7998, allocations: 211.9 kB / 0.8059 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/0.8024, allocations: 458.7 kB / 0.8064 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.8055, allocations: 2.018 MB / 0.8084 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/0.8063, allocations: 1.024 MB / 0.8094 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007992/0.8071, allocations: 203 kB / 0.8095 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.8073, allocations: 59.44 kB / 0.8096 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of SimCode: time 8.41e-07/0.8073, allocations: 4 kB / 0.8096 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of Templates: time 0.3681/1.175, allocations: 14.39 MB / 0.8237 GB, free: 217.9 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)