Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.0009194/0.0009195, allocations: 172.7 kB / 15.95 MB, free: 208 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.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003127, allocations: 8 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1636, allocations: 82.31 MB / 0.5874 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5546/0.7182, allocations: 221.3 MB / 0.8035 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02267/0.7409, allocations: 14.92 MB / 0.8181 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.7435, allocations: 67.5 kB / 0.8181 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003445/0.747, allocations: 0.7959 MB / 0.8189 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009906/0.7569, allocations: 2.84 MB / 0.8217 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004535/0.7615, allocations: 1.364 MB / 0.823 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008658/0.7701, allocations: 6.224 MB / 0.8291 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.7723, allocations: 1.28 MB / 0.8303 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.7778, allocations: 2.159 MB / 0.8324 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002874/0.7807, allocations: 1.65 MB / 0.8341 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.781, allocations: 84 kB / 0.8341 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/0.7849, allocations: 1.504 MB / 0.8356 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008367/0.7858, allocations: 0.6698 MB / 0.8363 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007748/0.7866, allocations: 440.6 kB / 0.8367 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.79, allocations: 2.439 MB / 0.8391 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7901, allocations: 0 / 0.8391 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7901, allocations: 0 / 0.8391 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.159e-05/0.7901, allocations: 0 / 0.8391 GB, free: 11.06 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003756/0.7939, allocations: 2.133 MB / 0.8411 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.7939, allocations: 12.03 kB / 0.8412 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/0.797, allocations: 0.5048 MB / 0.8417 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.7997, allocations: 1.223 MB / 0.8428 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.7999, allocations: 178.2 kB / 0.843 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.8001, allocations: 152 kB / 0.8432 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/0.8034, allocations: 1.729 MB / 0.8448 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.8035, allocations: 7.906 kB / 0.8449 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.8036, allocations: 64 kB / 0.8449 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.413e-05/0.8037, allocations: 62.69 kB / 0.845 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.8062, allocations: 1.377 MB / 0.8463 GB, free: 3.422 MB / 0.6544 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.01002/0.8163, allocations: 8.178 MB / 0.8543 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.8178, allocations: 0.9222 MB / 0.8552 GB, free: 9.621 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000912/0.8187, allocations: 0.5366 MB / 0.8557 GB, free: 9.086 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006382/0.8194, allocations: 332.5 kB / 0.8561 GB, free: 8.707 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.8195, allocations: 59.44 kB / 0.8561 GB, free: 8.637 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 3.326e-06/0.8195, allocations: 3.938 kB / 0.8561 GB, free: 8.633 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.007461/0.8269, allocations: 3.144 MB / 0.8592 GB, free: 5.441 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.827, allocations: 60.41 kB / 0.8592 GB, free: 5.371 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.829, allocations: 1.246 MB / 0.8605 GB, free: 4.117 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.8292, allocations: 49.7 kB / 0.8605 GB, free: 4.062 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008504/0.83, allocations: 0.8094 MB / 0.8613 GB, free: 3.242 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.8304, allocations: 374.7 kB / 0.8617 GB, free: 2.871 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.8305, allocations: 24 kB / 0.8617 GB, free: 2.848 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.8307, allocations: 353.9 kB / 0.862 GB, free: 2.496 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008603/0.8316, allocations: 430.4 kB / 0.8624 GB, free: 2.074 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.8327, allocations: 0.8389 MB / 0.8632 GB, free: 1.066 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009877/0.8337, allocations: 0.5612 MB / 0.8638 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.8337, allocations: 4 kB / 0.8638 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.3781/1.212, allocations: 1.391 MB / 0.8652 GB, free: 126.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001713/1.212, allocations: 365.1 kB / 0.8655 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.212, allocations: 9.5 kB / 0.8655 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/1.212, allocations: 20.06 kB / 0.8655 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/1.213, allocations: 276.5 kB / 0.8658 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-05/1.213, allocations: 22.09 kB / 0.8658 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/1.215, allocations: 172.3 kB / 0.866 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.684e-05/1.215, allocations: 50.25 kB / 0.866 GB, free: 126.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/1.215, allocations: 6.031 kB / 0.866 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001905/1.217, allocations: 1.231 MB / 0.8672 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.217, allocations: 7.688 kB / 0.8672 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.217, allocations: 17.22 kB / 0.8673 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009935/1.218, allocations: 282.6 kB / 0.8675 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/1.218, allocations: 20.84 kB / 0.8675 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.219, allocations: 160.6 kB / 0.8677 GB, free: 126.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/1.22, allocations: 58.52 kB / 0.8678 GB, free: 126.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0008796/1.22, allocations: 0.5075 MB / 0.8682 GB, free: 126.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/1.221, allocations: 165 kB / 0.8684 GB, free: 126.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/1.223, allocations: 1.16 MB / 0.8695 GB, free: 126.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/1.223, allocations: 15 kB / 0.8696 GB, free: 126.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.223, allocations: 3.938 kB / 0.8696 GB, free: 126.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001515/1.224, allocations: 1.096 MB / 0.8706 GB, free: 126 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/1.229, allocations: 2.786 MB / 0.8733 GB, free: 125.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.229, allocations: 1.219 kB / 0.8734 GB, free: 125.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/1.23, allocations: 256.1 kB / 0.8736 GB, free: 125.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-06/1.23, allocations: 7.094 kB / 0.8736 GB, free: 125.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/1.23, allocations: 28.73 kB / 0.8736 GB, free: 125.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.23, allocations: 7.062 kB / 0.8736 GB, free: 125.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.23, allocations: 2.719 kB / 0.8736 GB, free: 125.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/1.233, allocations: 1.836 MB / 0.8754 GB, free: 125.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/1.233, allocations: 342.3 kB / 0.8758 GB, free: 125.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.234, allocations: 23.69 kB / 0.8758 GB, free: 125.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.235, allocations: 140 kB / 0.8759 GB, free: 125.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.235, allocations: 72.97 kB / 0.876 GB, free: 125.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.927e-05/1.235, allocations: 41.34 kB / 0.876 GB, free: 125.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001061/1.236, allocations: 0.8286 MB / 0.8768 GB, free: 125.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.236, allocations: 0 / 0.8768 GB, free: 125.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00197/1.238, allocations: 0.7656 MB / 0.8776 GB, free: 125.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * 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.0005094/1.238, allocations: 280.7 kB / 0.8778 GB, free: 125 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002933/1.241, allocations: 1.735 MB / 0.8795 GB, free: 124.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.241, allocations: 2 kB / 0.8795 GB, free: 124.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007809/1.242, allocations: 0.5241 MB / 0.8801 GB, free: 124.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/1.246, allocations: 0.9688 MB / 0.881 GB, free: 124.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/1.252, allocations: 4.204 MB / 0.8851 GB, free: 122.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.253, allocations: 1.438 MB / 0.8865 GB, free: 122.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002394/1.255, allocations: 0.5509 MB / 0.887 GB, free: 122 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/1.255, allocations: 129.6 kB / 0.8872 GB, free: 122 MB / 0.67 GB Notification: Performance of SimCode: time 1.553e-06/1.255, allocations: 0 / 0.8872 GB, free: 122 MB / 0.67 GB Notification: Performance of Templates: time 0.05724/1.313, allocations: 29.38 MB / 0.9159 GB, free: 113.5 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)