Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001091/0.001091, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001125/0.001125, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7494/0.7494, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3054, allocations: 80.9 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5164/0.8219, allocations: 209.9 MB / 0.7907 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.8342, allocations: 9.847 MB / 0.8003 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.8362, allocations: 66.19 kB / 0.8004 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.838, allocations: 0.7723 MB / 0.8011 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007192/0.8453, allocations: 2.799 MB / 0.8039 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.8487, allocations: 1.38 MB / 0.8052 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004742/0.8534, allocations: 4.065 MB / 0.8092 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/0.8553, allocations: 1.33 MB / 0.8105 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/0.8596, allocations: 1.371 MB / 0.8118 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003527/0.8632, allocations: 1.234 MB / 0.813 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003206/0.8635, allocations: 148 kB / 0.8132 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004867/0.8684, allocations: 2.386 MB / 0.8155 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00059/0.869, allocations: 0.6017 MB / 0.8161 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.8702, allocations: 0.8544 MB / 0.8169 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004313/0.8745, allocations: 3.007 MB / 0.8199 GB, free: 184 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8745, allocations: 0.9375 kB / 0.8199 GB, free: 184 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8745, allocations: 0 / 0.8199 GB, free: 184 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.156e-05/0.8745, allocations: 0 / 0.8199 GB, free: 184 kB / 0.5762 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.002921/0.8775, allocations: 1.908 MB / 0.8217 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.8775, allocations: 11.2 kB / 0.8217 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.8806, allocations: 481.5 kB / 0.8222 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.8825, allocations: 1.128 MB / 0.8233 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.8826, allocations: 83.33 kB / 0.8234 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.8828, allocations: 115.4 kB / 0.8235 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.8845, allocations: 1.151 MB / 0.8246 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.8845, allocations: 3.375 kB / 0.8246 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.8846, allocations: 45.19 kB / 0.8247 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/0.8847, allocations: 44.75 kB / 0.8247 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.8862, allocations: 1.065 MB / 0.8257 GB, free: 14.45 MB / 0.5919 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.005904/0.8921, allocations: 4.179 MB / 0.8298 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.8932, allocations: 0.8379 MB / 0.8306 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.8938, allocations: 480 kB / 0.8311 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003946/0.8942, allocations: 292.8 kB / 0.8314 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.8942, allocations: 44.56 kB / 0.8314 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 3.025e-06/0.8942, allocations: 0 / 0.8314 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89): time 0.00602/0.9002, allocations: 2.841 MB / 0.8342 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.9003, allocations: 64.06 kB / 0.8343 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.902, allocations: 0.9736 MB / 0.8352 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.855e-05/0.9021, allocations: 46.73 kB / 0.8352 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/0.9026, allocations: 0.5457 MB / 0.8358 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.903, allocations: 313.5 kB / 0.8361 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.9033, allocations: 159.5 kB / 0.8362 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.9034, allocations: 342 kB / 0.8366 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.904, allocations: 336.2 kB / 0.8369 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.9047, allocations: 0.4913 MB / 0.8374 GB, free: 6.309 MB / 0.5919 GB 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) 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: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/0.9103, allocations: 3.021 MB / 0.8403 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.9104, allocations: 0 / 0.8403 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001596/0.912, allocations: 1.004 MB / 0.8413 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.912, allocations: 12.03 kB / 0.8413 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.912, allocations: 11.92 kB / 0.8413 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.9121, allocations: 4 kB / 0.8413 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.9128, allocations: 180.5 kB / 0.8415 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.9128, allocations: 8 kB / 0.8415 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.9139, allocations: 34.23 kB / 0.8415 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/0.914, allocations: 39.97 kB / 0.8416 GB, free: 2.633 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006452/0.9147, allocations: 374.2 kB / 0.8419 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.915, allocations: 134.5 kB / 0.842 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.9153, allocations: 148.3 kB / 0.8422 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.9153, allocations: 12 kB / 0.8422 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.9153, allocations: 0 / 0.8422 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001457/0.9168, allocations: 1.092 MB / 0.8433 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/0.9218, allocations: 3.039 MB / 0.8462 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/0.9218, allocations: 8.219 kB / 0.8462 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/0.9226, allocations: 172.5 kB / 0.8464 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/0.9229, allocations: 101.6 kB / 0.8465 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/0.923, allocations: 28 kB / 0.8465 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.9254, allocations: 3.093 MB / 0.8496 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.9254, allocations: 11.09 kB / 0.8496 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.9278, allocations: 1.8 MB / 0.8513 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007587/0.9286, allocations: 299.5 kB / 0.8516 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.9289, allocations: 35.92 kB / 0.8516 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.9299, allocations: 41.8 kB / 0.8517 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.9301, allocations: 86.52 kB / 0.8518 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.9302, allocations: 55.06 kB / 0.8518 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009703/0.9311, allocations: 0.6994 MB / 0.8525 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9312, allocations: 0 / 0.8525 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001278/0.9324, allocations: 375.9 kB / 0.8529 GB, free: 6.504 MB / 0.6075 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 (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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005497/0.933, allocations: 236.4 kB / 0.8531 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.9344, allocations: 0.8471 MB / 0.8539 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9344, allocations: 0 / 0.8539 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009357/0.9353, allocations: 0.6767 MB / 0.8546 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/0.9395, allocations: 0.9194 MB / 0.8555 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.9436, allocations: 2.754 MB / 0.8582 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.9446, allocations: 1.252 MB / 0.8594 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001241/0.9459, allocations: 331 kB / 0.8597 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.9462, allocations: 99.44 kB / 0.8598 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of SimCode: time 6.52e-07/0.9462, allocations: 0 / 0.8598 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of Templates: time 0.04413/0.9903, allocations: 28.48 MB / 0.8876 GB, free: 3.277 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)