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.001533/0.001533, allocations: 106.4 kB / 16.41 MB, free: 6.484 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.001639/0.001639, allocations: 187 kB / 17.34 MB, free: 5.758 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.796/0.796, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.47 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1554, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6294/0.7848, allocations: 187.3 MB / 0.8482 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.8011, allocations: 13.05 MB / 0.8609 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.8027, allocations: 32.25 kB / 0.861 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.8043, allocations: 431.7 kB / 0.8614 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.8079, allocations: 1.159 MB / 0.8625 GB, free: 4 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.8099, allocations: 0.7057 MB / 0.8632 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002876/0.8128, allocations: 2.012 MB / 0.8652 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.814, allocations: 0.8382 MB / 0.866 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004249/0.8182, allocations: 1.829 MB / 0.8678 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.82, allocations: 0.6577 MB / 0.8684 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.8202, allocations: 80 kB / 0.8685 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.8221, allocations: 0.877 MB / 0.8694 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000384/0.8225, allocations: 383 kB / 0.8697 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006028/0.8231, allocations: 0.4976 MB / 0.8702 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.8253, allocations: 1.499 MB / 0.8717 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8253, allocations: 4 kB / 0.8717 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8253, allocations: 0 / 0.8717 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.8254, allocations: 0 / 0.8717 GB, free: 11.86 MB / 0.6387 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.001802/0.8272, allocations: 1.239 MB / 0.8729 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.8272, allocations: 13.11 kB / 0.8729 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.8284, allocations: 206.7 kB / 0.8731 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.8295, allocations: 0.6871 MB / 0.8738 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.8295, allocations: 61.94 kB / 0.8738 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.8297, allocations: 76 kB / 0.8739 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.8309, allocations: 0.9249 MB / 0.8748 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.8309, allocations: 15.78 kB / 0.8748 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.831, allocations: 32 kB / 0.8748 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.8311, allocations: 25.31 kB / 0.8749 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/0.832, allocations: 0.6177 MB / 0.8755 GB, free: 7.797 MB / 0.6387 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.004374/0.8364, allocations: 4.564 MB / 0.8799 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.8371, allocations: 0.5349 MB / 0.8805 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.8374, allocations: 246.5 kB / 0.8807 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.8377, allocations: 109.1 kB / 0.8808 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.8377, allocations: 43.12 kB / 0.8808 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 3.446e-06/0.8377, allocations: 0 / 0.8808 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002869/0.8406, allocations: 1.588 MB / 0.8824 GB, free: 292 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.8407, allocations: 106.8 kB / 0.8825 GB, free: 160 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/0.8415, allocations: 0.7155 MB / 0.8832 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.8416, allocations: 37.7 kB / 0.8832 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.8419, allocations: 407.8 kB / 0.8836 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.842, allocations: 165.6 kB / 0.8838 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.8422, allocations: 122.3 kB / 0.8839 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8423, allocations: 330 kB / 0.8842 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.8426, allocations: 181.2 kB / 0.8844 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.843, allocations: 424.9 kB / 0.8848 GB, free: 13.68 MB / 0.6544 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.002096/0.8451, allocations: 1.164 MB / 0.8859 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.8452, allocations: 0 / 0.8859 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009887/0.8462, allocations: 0.6725 MB / 0.8866 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.8462, allocations: 9.406 kB / 0.8866 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.8462, allocations: 15.88 kB / 0.8866 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.8462, allocations: 11.98 kB / 0.8866 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.8467, allocations: 123.8 kB / 0.8867 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.8467, allocations: 13.06 kB / 0.8867 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.8473, allocations: 31.89 kB / 0.8868 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.8474, allocations: 28 kB / 0.8868 GB, free: 11.5 MB / 0.6544 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.0004018/0.8478, allocations: 273.6 kB / 0.8871 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.848, allocations: 83 kB / 0.8871 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.8481, allocations: 91.66 kB / 0.8872 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8482, allocations: 4 kB / 0.8872 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.8482, allocations: 4 kB / 0.8872 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006769/0.8489, allocations: 0.6949 MB / 0.8879 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.8511, allocations: 1.643 MB / 0.8895 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.8511, allocations: 7.938 kB / 0.8895 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.8516, allocations: 99.89 kB / 0.8896 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.8516, allocations: 11.98 kB / 0.8896 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.8516, allocations: 12 kB / 0.8896 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.8517, allocations: 12.41 kB / 0.8897 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.8517, allocations: 8.062 kB / 0.8897 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.8527, allocations: 0.8887 MB / 0.8905 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.853, allocations: 212 kB / 0.8907 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.8531, allocations: 16 kB / 0.8907 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.8536, allocations: 20.19 kB / 0.8908 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.8537, allocations: 39.84 kB / 0.8908 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.8537, allocations: 19.98 kB / 0.8908 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005821/0.8543, allocations: 0.5107 MB / 0.8913 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8543, allocations: 0 / 0.8913 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007388/0.855, allocations: 200 kB / 0.8915 GB, free: 6.398 MB / 0.6544 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.0005185/0.8556, allocations: 208.1 kB / 0.8917 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007984/0.8564, allocations: 483.5 kB / 0.8922 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8564, allocations: 3.938 kB / 0.8922 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.8567, allocations: 211.2 kB / 0.8924 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.8586, allocations: 486.5 kB / 0.8928 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.8611, allocations: 1.704 MB / 0.8945 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.8616, allocations: 1.024 MB / 0.8955 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.8619, allocations: 71.42 kB / 0.8956 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of SimCode: time 6.81e-07/0.8619, allocations: 0 / 0.8956 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of Templates: time 0.02867/0.8905, allocations: 13.13 MB / 0.9084 GB, free: 5.113 MB / 0.67 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)