Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001837/0.001837, allocations: 101.1 kB / 16.27 MB, free: 5.969 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.002003/0.002004, allocations: 194.8 kB / 17.2 MB, free: 5.594 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.788/0.788, allocations: 132.2 MB / 423.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.89 kB / 0.5024 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3834, allocations: 80.2 MB / 0.5807 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5941/0.9776, allocations: 242.4 MB / 0.8174 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.9983, allocations: 15.87 MB / 0.8329 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003773/1.002, allocations: 78.38 kB / 0.833 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003688/1.006, allocations: 1.183 MB / 0.8342 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01092/1.017, allocations: 3.818 MB / 0.8379 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005255/1.022, allocations: 1.807 MB / 0.8397 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008032/1.03, allocations: 5.241 MB / 0.8448 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/1.033, allocations: 1.676 MB / 0.8464 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006209/1.039, allocations: 2.596 MB / 0.849 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004243/1.043, allocations: 1.709 MB / 0.8506 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005717/1.044, allocations: 175 kB / 0.8508 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006695/1.051, allocations: 2.708 MB / 0.8534 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/1.052, allocations: 0.7631 MB / 0.8542 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002508/1.055, allocations: 1.15 MB / 0.8553 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007222/1.062, allocations: 3.522 MB / 0.8587 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.062, allocations: 0 / 0.8587 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.158e-06/1.062, allocations: 3.984 kB / 0.8588 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.358e-05/1.062, allocations: 0 / 0.8588 GB, free: 5.027 MB / 0.5919 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.004759/1.067, allocations: 2.492 MB / 0.8612 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/1.067, allocations: 8.031 kB / 0.8612 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/1.07, allocations: 0.5101 MB / 0.8617 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/1.072, allocations: 1.276 MB / 0.8629 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/1.072, allocations: 176.8 kB / 0.8631 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/1.073, allocations: 151.9 kB / 0.8632 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/1.076, allocations: 1.731 MB / 0.8649 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/1.076, allocations: 7.094 kB / 0.8649 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/1.076, allocations: 71.94 kB / 0.865 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-05/1.076, allocations: 58.69 kB / 0.8651 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/1.078, allocations: 1.368 MB / 0.8664 GB, free: 13.11 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.01048/1.089, allocations: 8.241 MB / 0.8745 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.09, allocations: 0.905 MB / 0.8753 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008751/1.091, allocations: 0.5424 MB / 0.8759 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/1.092, allocations: 314.3 kB / 0.8762 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.092, allocations: 54.19 kB / 0.8762 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 3.026e-06/1.092, allocations: 0 / 0.8762 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.007202/1.099, allocations: 3.104 MB / 0.8793 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/1.099, allocations: 60.41 kB / 0.8793 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/1.101, allocations: 1.27 MB / 0.8805 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/1.101, allocations: 53.7 kB / 0.8806 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006264/1.102, allocations: 0.811 MB / 0.8814 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/1.102, allocations: 367.8 kB / 0.8817 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/1.103, allocations: 226.8 kB / 0.882 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.103, allocations: 349.9 kB / 0.8823 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008443/1.104, allocations: 448.4 kB / 0.8827 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.105, allocations: 0.8326 MB / 0.8835 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/1.107, allocations: 1.247 MB / 0.8848 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.107, allocations: 0 / 0.8848 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002638/1.109, allocations: 1.407 MB / 0.8861 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.109, allocations: 10.62 kB / 0.8861 GB, free: 8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.109, allocations: 8 kB / 0.8861 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/1.109, allocations: 16 kB / 0.8862 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.111, allocations: 271.6 kB / 0.8864 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/1.111, allocations: 25.23 kB / 0.8864 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/1.112, allocations: 72.17 kB / 0.8865 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.732e-05/1.112, allocations: 51.98 kB / 0.8866 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00151/1.114, allocations: 0.7679 MB / 0.8873 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001121/1.115, allocations: 0.8325 MB / 0.8881 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001976/1.117, allocations: 1.233 MB / 0.8893 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.736e-06/1.117, allocations: 0 / 0.8893 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002785/1.12, allocations: 1.388 MB / 0.8907 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.12, allocations: 8 kB / 0.8907 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.12, allocations: 12.16 kB / 0.8907 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/1.12, allocations: 16 kB / 0.8907 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/1.121, allocations: 278.6 kB / 0.891 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.122e-05/1.121, allocations: 19.19 kB / 0.891 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/1.123, allocations: 75.84 kB / 0.8911 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.123, allocations: 52 kB / 0.8911 GB, free: 2.73 MB / 0.6231 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.0004461/1.123, allocations: 263.5 kB / 0.8914 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005373/1.124, allocations: 170 kB / 0.8915 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/1.126, allocations: 1.15 MB / 0.8927 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.126, allocations: 12 kB / 0.8927 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.126, allocations: 0 / 0.8927 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001796/1.128, allocations: 1.075 MB / 0.8937 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005703/1.134, allocations: 2.779 MB / 0.8964 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.134, allocations: 0 / 0.8964 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.135, allocations: 250.1 kB / 0.8967 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/1.135, allocations: 4 kB / 0.8967 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/1.135, allocations: 31.92 kB / 0.8967 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/1.135, allocations: 10.44 kB / 0.8967 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.135, allocations: 0 / 0.8967 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/1.139, allocations: 1.807 MB / 0.8985 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/1.14, allocations: 335 kB / 0.8988 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003767/1.14, allocations: 34.41 kB / 0.8988 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.141, allocations: 60.88 kB / 0.8989 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.142, allocations: 64.91 kB / 0.899 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.502e-05/1.142, allocations: 35.98 kB / 0.899 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001517/1.143, allocations: 0.8426 MB / 0.8998 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/1.143, allocations: 0 / 0.8998 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002624/1.146, allocations: 0.7617 MB / 0.9006 GB, free: 8.934 MB / 0.6387 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.0007346/1.147, allocations: 279.3 kB / 0.9008 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004418/1.151, allocations: 1.997 MB / 0.9028 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.151, allocations: 4 kB / 0.9028 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009583/1.152, allocations: 0.5176 MB / 0.9033 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004804/1.157, allocations: 0.9244 MB / 0.9042 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006497/1.163, allocations: 3.569 MB / 0.9077 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/1.165, allocations: 1.437 MB / 0.9091 GB, free: 320 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/1.165, allocations: 135.4 kB / 0.9092 GB, free: 184 kB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/1.165, allocations: 0 / 0.9092 GB, free: 184 kB / 0.6387 GB Notification: Performance of Templates: time 0.0438/1.209, allocations: 26.56 MB / 0.9351 GB, free: 5.887 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)