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.000899/0.000899, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000834/0.0008341, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8418/0.8418, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 8 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3712/0.5078, allocations: 155.7 MB / 0.7393 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.5203, allocations: 10.91 MB / 0.7499 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008996/0.5213, allocations: 27.81 kB / 0.7499 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.5225, allocations: 444.1 kB / 0.7504 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.5249, allocations: 1.042 MB / 0.7514 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.5268, allocations: 0.819 MB / 0.7522 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001426/0.5283, allocations: 1.165 MB / 0.7533 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007339/0.529, allocations: 0.6196 MB / 0.7539 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.5313, allocations: 1.219 MB / 0.7551 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/0.5318, allocations: 430.2 kB / 0.7555 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.868e-05/0.5319, allocations: 32 kB / 0.7556 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009095/0.5328, allocations: 411.4 kB / 0.756 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.5331, allocations: 315.2 kB / 0.7563 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.5333, allocations: 205.1 kB / 0.7564 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009055/0.5342, allocations: 0.9899 MB / 0.7574 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.5342, allocations: 0 / 0.7574 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5342, allocations: 0 / 0.7574 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.5342, allocations: 0 / 0.7574 GB, free: 14.26 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.001402/0.5356, allocations: 1.058 MB / 0.7584 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.5356, allocations: 8.031 kB / 0.7585 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.5367, allocations: 214.6 kB / 0.7587 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/0.5376, allocations: 0.6212 MB / 0.7593 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.5377, allocations: 58 kB / 0.7593 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5378, allocations: 79.94 kB / 0.7594 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.5389, allocations: 0.9132 MB / 0.7603 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.539, allocations: 7.938 kB / 0.7603 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.539, allocations: 32 kB / 0.7603 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/0.5391, allocations: 33.25 kB / 0.7604 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.5399, allocations: 0.6099 MB / 0.761 GB, free: 10.46 MB / 0.5762 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.003831/0.5438, allocations: 4.584 MB / 0.7654 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.5444, allocations: 0.5406 MB / 0.766 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.638e-05/0.5445, allocations: 11.98 kB / 0.766 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.5445, allocations: 42.56 kB / 0.766 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.5446, allocations: 4 kB / 0.766 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.00238/0.5469, allocations: 1.571 MB / 0.7676 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.547, allocations: 110.8 kB / 0.7677 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007211/0.5477, allocations: 0.7079 MB / 0.7683 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.5478, allocations: 37.7 kB / 0.7684 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.5481, allocations: 423.7 kB / 0.7688 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.5482, allocations: 161.7 kB / 0.7689 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.5482, allocations: 12 kB / 0.769 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5484, allocations: 326 kB / 0.7693 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.5486, allocations: 185.2 kB / 0.7694 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.549, allocations: 417 kB / 0.7698 GB, free: 0.8125 MB / 0.5762 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.001417/0.5505, allocations: 0.6611 MB / 0.7705 GB, free: 140 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5505, allocations: 7.891 kB / 0.7705 GB, free: 132 kB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008704/0.5514, allocations: 0.6683 MB / 0.7711 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5514, allocations: 10.19 kB / 0.7712 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.5514, allocations: 4 kB / 0.7712 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5514, allocations: 12 kB / 0.7712 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.5519, allocations: 127.8 kB / 0.7713 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.5519, allocations: 16.48 kB / 0.7713 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.5524, allocations: 44.81 kB / 0.7713 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.5525, allocations: 31.94 kB / 0.7714 GB, free: 15.21 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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003009/0.5528, allocations: 275.3 kB / 0.7716 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.5529, allocations: 86.92 kB / 0.7717 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.5531, allocations: 95.66 kB / 0.7718 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.5531, allocations: 4 kB / 0.7718 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.5531, allocations: 0 / 0.7718 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006305/0.5537, allocations: 0.6949 MB / 0.7725 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.5559, allocations: 1.639 MB / 0.7741 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.5559, allocations: 4.5 kB / 0.7741 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.5563, allocations: 95.89 kB / 0.7742 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.5563, allocations: 11.95 kB / 0.7742 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.5564, allocations: 19.98 kB / 0.7742 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.5564, allocations: 7.938 kB / 0.7742 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5564, allocations: 8 kB / 0.7742 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.5574, allocations: 1.075 MB / 0.7753 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.5577, allocations: 208.1 kB / 0.7755 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.5578, allocations: 16 kB / 0.7755 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.5583, allocations: 32.47 kB / 0.7755 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.5583, allocations: 43.84 kB / 0.7756 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.5584, allocations: 16.88 kB / 0.7756 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000508/0.5589, allocations: 0.5068 MB / 0.7761 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5589, allocations: 0 / 0.7761 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006198/0.5595, allocations: 200 kB / 0.7763 GB, free: 9.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003704/0.5599, allocations: 193.4 kB / 0.7765 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006368/0.5605, allocations: 478 kB / 0.7769 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5605, allocations: 0 / 0.7769 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.5608, allocations: 211.7 kB / 0.7771 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.5626, allocations: 467 kB / 0.7776 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.5649, allocations: 1.988 MB / 0.7795 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.5654, allocations: 1.04 MB / 0.7805 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005882/0.566, allocations: 195 kB / 0.7807 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.5662, allocations: 71.42 kB / 0.7808 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of SimCode: time 6.22e-07/0.5662, allocations: 4 kB / 0.7808 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of Templates: time 0.01956/0.5858, allocations: 13.93 MB / 0.7944 GB, free: 7.434 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: