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.001453/0.001453, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001491/0.001491, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9555/0.9555, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.92 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.164, allocations: 81.01 MB / 0.5845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5045/0.6685, allocations: 239.7 MB / 0.8186 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02319/0.6917, allocations: 15.84 MB / 0.8341 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.6943, allocations: 71.5 kB / 0.8342 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003312/0.6976, allocations: 1.05 MB / 0.8352 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009758/0.7075, allocations: 3.59 MB / 0.8387 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.7122, allocations: 1.637 MB / 0.8403 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006925/0.7192, allocations: 5.253 MB / 0.8454 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.7218, allocations: 1.634 MB / 0.847 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005388/0.7272, allocations: 2.6 MB / 0.8495 GB, free: 12.78 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.7311, allocations: 1.812 MB / 0.8513 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004727/0.7315, allocations: 176 kB / 0.8515 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005246/0.7368, allocations: 2.829 MB / 0.8542 GB, free: 7.965 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009141/0.7377, allocations: 0.7752 MB / 0.855 GB, free: 7.188 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.7392, allocations: 1.151 MB / 0.8561 GB, free: 6.031 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.7442, allocations: 3.723 MB / 0.8598 GB, free: 2.297 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7443, allocations: 0 / 0.8598 GB, free: 2.297 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7443, allocations: 0 / 0.8598 GB, free: 2.297 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.449e-05/0.7443, allocations: 0 / 0.8598 GB, free: 2.297 MB / 0.67 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.2417/0.986, allocations: 2.493 MB / 0.8622 GB, free: 223.6 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.9861, allocations: 9.469 kB / 0.8622 GB, free: 223.6 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.989, allocations: 0.5037 MB / 0.8627 GB, free: 223.5 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.9908, allocations: 1.267 MB / 0.8639 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.991, allocations: 179.4 kB / 0.8641 GB, free: 223 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.9912, allocations: 152.7 kB / 0.8643 GB, free: 223 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.9936, allocations: 1.743 MB / 0.866 GB, free: 222.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.9936, allocations: 6.938 kB / 0.866 GB, free: 222.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.9938, allocations: 58.09 kB / 0.866 GB, free: 222.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.562e-05/0.9938, allocations: 67.94 kB / 0.8661 GB, free: 222.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.9958, allocations: 1.367 MB / 0.8674 GB, free: 222 MB / 0.67 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.00632/1.002, allocations: 8.17 MB / 0.8754 GB, free: 216 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.003, allocations: 0.8989 MB / 0.8763 GB, free: 215.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/1.004, allocations: 0.5415 MB / 0.8768 GB, free: 215.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004849/1.004, allocations: 324.4 kB / 0.8771 GB, free: 215.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/1.004, allocations: 46.09 kB / 0.8772 GB, free: 215.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.254e-06/1.004, allocations: 0 / 0.8772 GB, free: 215.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.00549/1.01, allocations: 3.107 MB / 0.8802 GB, free: 213.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/1.01, allocations: 64.59 kB / 0.8802 GB, free: 213.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/1.011, allocations: 1.257 MB / 0.8815 GB, free: 213.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/1.011, allocations: 50.95 kB / 0.8815 GB, free: 213 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/1.012, allocations: 0.8186 MB / 0.8823 GB, free: 212.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/1.012, allocations: 361.5 kB / 0.8827 GB, free: 212.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/1.012, allocations: 226.9 kB / 0.8829 GB, free: 212 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/1.012, allocations: 358.1 kB / 0.8832 GB, free: 211.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006937/1.013, allocations: 450.3 kB / 0.8837 GB, free: 211.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008802/1.014, allocations: 0.8287 MB / 0.8845 GB, free: 210.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/1.015, allocations: 1.248 MB / 0.8857 GB, free: 210.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.015, allocations: 5.844 kB / 0.8857 GB, free: 210.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001926/1.017, allocations: 1.398 MB / 0.8871 GB, free: 209.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.017, allocations: 9.25 kB / 0.8871 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.017, allocations: 9.125 kB / 0.8871 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/1.017, allocations: 17.06 kB / 0.8871 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.018, allocations: 283.2 kB / 0.8874 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.018, allocations: 20.08 kB / 0.8874 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/1.02, allocations: 168.4 kB / 0.8875 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/1.02, allocations: 53.45 kB / 0.8876 GB, free: 209.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001067/1.021, allocations: 0.772 MB / 0.8883 GB, free: 209.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000785/1.022, allocations: 0.8205 MB / 0.8891 GB, free: 208.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001398/1.023, allocations: 1.236 MB / 0.8903 GB, free: 207.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/1.023, allocations: 2.625 kB / 0.8904 GB, free: 207.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.001799/1.025, allocations: 1.387 MB / 0.8917 GB, free: 207.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.025, allocations: 10.97 kB / 0.8917 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.025, allocations: 7.969 kB / 0.8917 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/1.025, allocations: 16.34 kB / 0.8917 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/1.026, allocations: 273.1 kB / 0.892 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/1.026, allocations: 20.34 kB / 0.892 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/1.027, allocations: 166.7 kB / 0.8922 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/1.027, allocations: 53.14 kB / 0.8922 GB, free: 207.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002549/1.028, allocations: 263.6 kB / 0.8925 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/1.028, allocations: 164.8 kB / 0.8926 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/1.03, allocations: 1.157 MB / 0.8938 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/1.03, allocations: 10.94 kB / 0.8938 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.03, allocations: 0 / 0.8938 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/1.031, allocations: 1.075 MB / 0.8948 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/1.035, allocations: 2.78 MB / 0.8975 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.035, allocations: 9.812 kB / 0.8976 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.036, allocations: 249.9 kB / 0.8978 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/1.036, allocations: 5.125 kB / 0.8978 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.329e-05/1.036, allocations: 25.2 kB / 0.8978 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/1.036, allocations: 5.5 kB / 0.8978 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.036, allocations: 2.281 kB / 0.8978 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/1.039, allocations: 1.815 MB / 0.8996 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/1.04, allocations: 336.4 kB / 0.8999 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/1.04, allocations: 20.06 kB / 0.8999 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.041, allocations: 145.9 kB / 0.9001 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/1.041, allocations: 61.95 kB / 0.9001 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/1.041, allocations: 40.52 kB / 0.9002 GB, free: 203.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009627/1.042, allocations: 0.8453 MB / 0.901 GB, free: 203.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.71e-07/1.042, allocations: 2.438 kB / 0.901 GB, free: 203.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002016/1.044, allocations: 0.7626 MB / 0.9017 GB, free: 203.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 (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.0007052/1.045, allocations: 272.5 kB / 0.902 GB, free: 202.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004001/1.049, allocations: 2.002 MB / 0.904 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.049, allocations: 2.219 kB / 0.904 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000808/1.05, allocations: 0.5135 MB / 0.9045 GB, free: 202.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/1.053, allocations: 0.9185 MB / 0.9054 GB, free: 201.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/1.058, allocations: 4.162 MB / 0.9094 GB, free: 199.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/1.059, allocations: 1.442 MB / 0.9108 GB, free: 198.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001898/1.061, allocations: 0.5583 MB / 0.9114 GB, free: 198.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/1.061, allocations: 128.7 kB / 0.9115 GB, free: 198.5 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/1.061, allocations: 0 / 0.9115 GB, free: 198.5 MB / 0.67 GB Notification: Performance of Templates: time 0.04862/1.11, allocations: 31.01 MB / 0.9418 GB, free: 184.4 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)