Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009907/0.0009908, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00122/0.00122, allocations: 168.7 kB / 15.95 MB, free: 204 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.318/1.318, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7381/0.7381, allocations: 132.4 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003002, allocations: 8 kB / 0.5034 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3496, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1856/0.5352, allocations: 191.1 MB / 0.7697 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.5473, allocations: 9.258 MB / 0.7787 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.5487, allocations: 47.69 kB / 0.7788 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.5501, allocations: 0.5357 MB / 0.7793 GB, free: 7.133 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004692/0.5548, allocations: 2.041 MB / 0.7813 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.5573, allocations: 0.9787 MB / 0.7823 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004768/0.5621, allocations: 4.742 MB / 0.7869 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.5635, allocations: 0.9613 MB / 0.7878 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.5654, allocations: 1.147 MB / 0.7889 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.5671, allocations: 1.167 MB / 0.7901 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.5673, allocations: 59.94 kB / 0.7901 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.5701, allocations: 1.165 MB / 0.7913 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005614/0.5706, allocations: 0.5063 MB / 0.7918 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.5711, allocations: 337 kB / 0.7921 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.5732, allocations: 2.034 MB / 0.7941 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5732, allocations: 0 / 0.7941 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5732, allocations: 0 / 0.7941 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.115e-05/0.5732, allocations: 0 / 0.7941 GB, free: 7.938 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002544/0.5758, allocations: 1.612 MB / 0.7957 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5758, allocations: 12.03 kB / 0.7957 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.5789, allocations: 493.6 kB / 0.7961 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.5805, allocations: 1.023 MB / 0.7971 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.5806, allocations: 86.12 kB / 0.7972 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.5808, allocations: 112 kB / 0.7973 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.5826, allocations: 1.141 MB / 0.7984 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.5827, allocations: 3.938 kB / 0.7984 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.5828, allocations: 48 kB / 0.7985 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.554e-05/0.5828, allocations: 42.12 kB / 0.7985 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.5845, allocations: 1.058 MB / 0.7996 GB, free: 2.176 MB / 0.6231 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.005248/0.5898, allocations: 4.208 MB / 0.8037 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.5909, allocations: 0.8229 MB / 0.8045 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.5915, allocations: 479 kB / 0.8049 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.5919, allocations: 292.3 kB / 0.8052 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.5919, allocations: 44.03 kB / 0.8053 GB, free: 12 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 1.903e-06/0.592, allocations: 0 / 0.8053 GB, free: 12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.005058/0.597, allocations: 2.836 MB / 0.808 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.5971, allocations: 60.41 kB / 0.8081 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.5982, allocations: 0.9677 MB / 0.809 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/0.5983, allocations: 49.7 kB / 0.8091 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.5986, allocations: 0.5434 MB / 0.8096 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.5989, allocations: 311.4 kB / 0.8099 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.5989, allocations: 16 kB / 0.8099 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5991, allocations: 341.9 kB / 0.8102 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.5996, allocations: 337.8 kB / 0.8106 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.6002, allocations: 492.5 kB / 0.811 GB, free: 5.891 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004485/0.6047, allocations: 2.216 MB / 0.8132 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6047, allocations: 3.938 kB / 0.8132 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001439/0.6062, allocations: 0.9999 MB / 0.8142 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6062, allocations: 8 kB / 0.8142 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6062, allocations: 0 / 0.8142 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6062, allocations: 11.95 kB / 0.8142 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/0.607, allocations: 183.7 kB / 0.8144 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.607, allocations: 11.98 kB / 0.8144 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/0.6079, allocations: 63.81 kB / 0.8144 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.6079, allocations: 32 kB / 0.8145 GB, free: 2.32 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0004946/0.6084, allocations: 389.5 kB / 0.8149 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.6086, allocations: 126.5 kB / 0.815 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.6089, allocations: 144.3 kB / 0.8151 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.6089, allocations: 8 kB / 0.8151 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.6089, allocations: 3.953 kB / 0.8151 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/0.6104, allocations: 1.082 MB / 0.8162 GB, free: 500 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2473/0.8576, allocations: 3.031 MB / 0.8191 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.8577, allocations: 8.812 kB / 0.8191 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007197/0.8584, allocations: 172.6 kB / 0.8193 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003218/0.8587, allocations: 105.7 kB / 0.8194 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.8588, allocations: 33.86 kB / 0.8194 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.8605, allocations: 2.869 MB / 0.8222 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.8605, allocations: 14.72 kB / 0.8223 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.8628, allocations: 1.785 MB / 0.824 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004892/0.8633, allocations: 306.3 kB / 0.8243 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.8634, allocations: 35.58 kB / 0.8243 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000894/0.8643, allocations: 78.78 kB / 0.8244 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.8644, allocations: 87.66 kB / 0.8245 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.108e-05/0.8645, allocations: 46.94 kB / 0.8245 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008663/0.8654, allocations: 0.6855 MB / 0.8252 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8654, allocations: 0 / 0.8252 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001102/0.8665, allocations: 372.1 kB / 0.8256 GB, free: 214.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.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 (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004277/0.867, allocations: 234.9 kB / 0.8258 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.8682, allocations: 0.8203 MB / 0.8266 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.8682, allocations: 2.812 kB / 0.8266 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008301/0.8691, allocations: 0.6717 MB / 0.8272 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/0.8727, allocations: 0.8926 MB / 0.8281 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.876, allocations: 3.256 MB / 0.8313 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/0.8768, allocations: 1.25 MB / 0.8325 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001164/0.878, allocations: 340.7 kB / 0.8328 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.8782, allocations: 98.25 kB / 0.8329 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.8782, allocations: 0 / 0.8329 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.03182/0.9101, allocations: 26.3 MB / 0.8586 GB, free: 193.8 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)