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.0009393/0.0009393, allocations: 97.39 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 179 kB / 16.92 MB, free: 6.914 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9932/0.9932, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004895, allocations: 8.562 kB / 0.5082 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1761, allocations: 82.32 MB / 0.5886 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5628/0.7389, allocations: 182.6 MB / 0.7669 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01645/0.7554, allocations: 12.94 MB / 0.7795 GB, free: 9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.7569, allocations: 27.81 kB / 0.7796 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.7584, allocations: 346 kB / 0.7799 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.7618, allocations: 1.089 MB / 0.781 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.7637, allocations: 0.6327 MB / 0.7816 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.767, allocations: 2.774 MB / 0.7843 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.7682, allocations: 0.7024 MB / 0.785 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003962/0.7722, allocations: 1.623 MB / 0.7866 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.7738, allocations: 0.6636 MB / 0.7872 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.051e-05/0.7739, allocations: 32 kB / 0.7872 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.7758, allocations: 0.9663 MB / 0.7882 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.7762, allocations: 335.1 kB / 0.7885 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005023/0.7767, allocations: 471.3 kB / 0.7889 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.7779, allocations: 1.091 MB / 0.79 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7779, allocations: 7.938 kB / 0.79 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7779, allocations: 0 / 0.79 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.778, allocations: 0 / 0.79 GB, free: 14.23 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.001613/0.7796, allocations: 1.054 MB / 0.791 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.7796, allocations: 8.031 kB / 0.7911 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.7808, allocations: 210.7 kB / 0.7913 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009259/0.7817, allocations: 0.6403 MB / 0.7919 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.7818, allocations: 58 kB / 0.7919 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.7819, allocations: 79.91 kB / 0.792 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.7832, allocations: 0.9366 MB / 0.7929 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.7833, allocations: 3.938 kB / 0.7929 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.7833, allocations: 36 kB / 0.793 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/0.7834, allocations: 29.3 kB / 0.793 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009363/0.7843, allocations: 0.6216 MB / 0.7936 GB, free: 10.38 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.004093/0.7884, allocations: 4.588 MB / 0.7981 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.7891, allocations: 0.5333 MB / 0.7986 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.7895, allocations: 250.9 kB / 0.7988 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.7897, allocations: 101.1 kB / 0.7989 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.7897, allocations: 51.12 kB / 0.799 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.775e-06/0.7897, allocations: 0 / 0.799 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002679/0.7924, allocations: 1.581 MB / 0.8005 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.7925, allocations: 118.8 kB / 0.8006 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00078/0.7933, allocations: 0.7077 MB / 0.8013 GB, free: 2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.7933, allocations: 33.7 kB / 0.8014 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.7936, allocations: 424 kB / 0.8018 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.7938, allocations: 161.7 kB / 0.8019 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.7939, allocations: 53.69 kB / 0.802 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.794, allocations: 330 kB / 0.8023 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.7943, allocations: 189.1 kB / 0.8025 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.7947, allocations: 413 kB / 0.8029 GB, free: 320 kB / 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.7969, allocations: 1.175 MB / 0.804 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7969, allocations: 0 / 0.804 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009977/0.7979, allocations: 0.6679 MB / 0.8047 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.798, allocations: 10.19 kB / 0.8047 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.798, allocations: 4 kB / 0.8047 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.798, allocations: 15.98 kB / 0.8047 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.7985, allocations: 119.8 kB / 0.8048 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.7985, allocations: 15.94 kB / 0.8048 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.7992, allocations: 53.3 kB / 0.8049 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.7992, allocations: 28 kB / 0.8049 GB, free: 14.12 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.0003779/0.7996, allocations: 273.5 kB / 0.8052 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.7998, allocations: 83.09 kB / 0.8052 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.8, allocations: 99.58 kB / 0.8053 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.8, allocations: 12 kB / 0.8053 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.8, allocations: 0 / 0.8053 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007067/0.8007, allocations: 0.6911 MB / 0.806 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.8032, allocations: 1.642 MB / 0.8076 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.8032, allocations: 7.938 kB / 0.8076 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.8037, allocations: 103.8 kB / 0.8077 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.8037, allocations: 8 kB / 0.8077 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.8037, allocations: 16 kB / 0.8078 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.8037, allocations: 4 kB / 0.8078 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.8038, allocations: 7.938 kB / 0.8078 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.8049, allocations: 0.8909 MB / 0.8086 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.8052, allocations: 212 kB / 0.8088 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.8053, allocations: 16 kB / 0.8089 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.8059, allocations: 40.56 kB / 0.8089 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.8059, allocations: 47.84 kB / 0.8089 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.806, allocations: 19.98 kB / 0.809 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006337/0.8066, allocations: 0.5107 MB / 0.8095 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8066, allocations: 0 / 0.8095 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008029/0.8074, allocations: 200 kB / 0.8096 GB, free: 8.98 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.000484/0.8079, allocations: 201.9 kB / 0.8098 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008337/0.8088, allocations: 469 kB / 0.8103 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8088, allocations: 0 / 0.8103 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.8091, allocations: 216 kB / 0.8105 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.8117, allocations: 458 kB / 0.8109 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.8146, allocations: 2.076 MB / 0.813 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/0.8154, allocations: 1.036 MB / 0.814 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.8156, allocations: 67.42 kB / 0.814 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of SimCode: time 9.82e-07/0.8156, allocations: 0 / 0.814 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of Templates: time 0.0209/0.8365, allocations: 12.82 MB / 0.8266 GB, free: 7.719 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)