Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01063/0.01063, allocations: 99.69 kB / 15.73 MB, free: 6.043 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.002204/0.002205, allocations: 192.4 kB / 16.67 MB, free: 5.953 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.446/1.446, allocations: 222.9 MB / 240.4 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.8471/0.8471, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.86 kB / 0.5863 GB, free: 21.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2105, allocations: 81.01 MB / 0.6654 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8026/1.013, allocations: 221.1 MB / 0.8812 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01149/1.025, allocations: 5.712 MB / 0.8868 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/1.027, allocations: 43.75 kB / 0.8869 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/1.029, allocations: 0.5825 MB / 0.8874 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006049/1.035, allocations: 1.832 MB / 0.8892 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003741/1.039, allocations: 1.191 MB / 0.8904 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004877/1.044, allocations: 2.942 MB / 0.8933 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/1.045, allocations: 1.015 MB / 0.8942 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/1.048, allocations: 1.062 MB / 0.8953 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/1.05, allocations: 0.9474 MB / 0.8962 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002413/1.05, allocations: 108 kB / 0.8963 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003626/1.054, allocations: 1.43 MB / 0.8977 GB, free: 168 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006119/1.055, allocations: 466.8 kB / 0.8982 GB, free: 15.71 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009405/1.056, allocations: 0.6495 MB / 0.8988 GB, free: 15.05 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003927/1.06, allocations: 2.137 MB / 0.9009 GB, free: 12.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.06, allocations: 0 / 0.9009 GB, free: 12.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.683e-06/1.06, allocations: 0 / 0.9009 GB, free: 12.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.545e-05/1.06, allocations: 0 / 0.9009 GB, free: 12.91 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003061/1.063, allocations: 1.549 MB / 0.9024 GB, free: 11.31 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/1.063, allocations: 13.11 kB / 0.9024 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/1.065, allocations: 319 kB / 0.9027 GB, free: 10.98 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/1.067, allocations: 0.8598 MB / 0.9035 GB, free: 10.08 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/1.067, allocations: 66 kB / 0.9036 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/1.067, allocations: 91.89 kB / 0.9037 GB, free: 9.926 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/1.069, allocations: 0.9131 MB / 0.9046 GB, free: 9.008 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/1.069, allocations: 4 kB / 0.9046 GB, free: 9.004 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.792e-05/1.069, allocations: 39.94 kB / 0.9046 GB, free: 8.965 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/1.069, allocations: 30 kB / 0.9047 GB, free: 8.938 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/1.07, allocations: 0.8354 MB / 0.9055 GB, free: 8.098 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.005778/1.076, allocations: 3.51 MB / 0.9089 GB, free: 4.371 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008592/1.077, allocations: 0.5033 MB / 0.9094 GB, free: 3.859 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/1.077, allocations: 298 kB / 0.9097 GB, free: 3.566 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/1.078, allocations: 109.5 kB / 0.9098 GB, free: 3.438 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/1.078, allocations: 39 kB / 0.9098 GB, free: 3.391 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/1.078, allocations: 0 / 0.9098 GB, free: 3.391 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.003905/1.082, allocations: 1.897 MB / 0.9117 GB, free: 1.402 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.082, allocations: 55.84 kB / 0.9117 GB, free: 1.336 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/1.083, allocations: 0.8058 MB / 0.9125 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/1.083, allocations: 37.7 kB / 0.9125 GB, free: 492 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/1.083, allocations: 484.2 kB / 0.913 GB, free: 0 / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/1.083, allocations: 182.6 kB / 0.9132 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/1.084, allocations: 126.2 kB / 0.9133 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.084, allocations: 330 kB / 0.9136 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/1.084, allocations: 245.2 kB / 0.9139 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/1.085, allocations: 380.7 kB / 0.9142 GB, free: 14.7 MB / 0.6856 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003718/1.089, allocations: 1.524 MB / 0.9157 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.089, allocations: 7.688 kB / 0.9157 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001442/1.09, allocations: 0.7893 MB / 0.9165 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.09, allocations: 6.031 kB / 0.9165 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.09, allocations: 4 kB / 0.9165 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/1.09, allocations: 73.61 kB / 0.9166 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/1.091, allocations: 147.8 kB / 0.9167 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/1.094, allocations: 3.129 MB / 0.9198 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009113/1.095, allocations: 23.98 kB / 0.9198 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/1.095, allocations: 24 kB / 0.9198 GB, free: 8.621 MB / 0.6856 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005818/1.095, allocations: 313.6 kB / 0.9201 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/1.096, allocations: 99.39 kB / 0.9202 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/1.096, allocations: 96.72 kB / 0.9203 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.096, allocations: 8 kB / 0.9203 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.096, allocations: 3.938 kB / 0.9203 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/1.097, allocations: 0.8271 MB / 0.9211 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/1.1, allocations: 1.79 MB / 0.9229 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.1, allocations: 4 kB / 0.9229 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006158/1.101, allocations: 140.2 kB / 0.923 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/1.101, allocations: 36.78 kB / 0.923 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/1.101, allocations: 15.98 kB / 0.923 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/1.102, allocations: 1.609 MB / 0.9246 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.102, allocations: 5.562 kB / 0.9246 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/1.104, allocations: 1.093 MB / 0.9257 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/1.105, allocations: 236.5 kB / 0.9259 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.105, allocations: 19.92 kB / 0.9259 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/1.105, allocations: 32.58 kB / 0.926 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/1.106, allocations: 43.95 kB / 0.926 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/1.106, allocations: 27.98 kB / 0.926 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000801/1.106, allocations: 0.5653 MB / 0.9266 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/1.106, allocations: 0 / 0.9266 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009509/1.107, allocations: 272 kB / 0.9268 GB, free: 0.9922 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005118/1.108, allocations: 202.9 kB / 0.927 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001527/1.109, allocations: 0.8154 MB / 0.9278 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.109, allocations: 0 / 0.9278 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006437/1.11, allocations: 403.6 kB / 0.9282 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.113, allocations: 0.5985 MB / 0.9288 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/1.116, allocations: 1.826 MB / 0.9306 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009881/1.117, allocations: 1.091 MB / 0.9317 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001082/1.119, allocations: 215.7 kB / 0.9319 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/1.119, allocations: 75.38 kB / 0.9319 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of SimCode: time 1.352e-06/1.119, allocations: 0 / 0.9319 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of Templates: time 0.04717/1.166, allocations: 20.21 MB / 0.9517 GB, free: 7.668 MB / 0.7169 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)