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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 181.7 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7035/0.7035, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 403.4 MB, free: 7.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009453/0.0009452, allocations: 102.9 kB / 484.4 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009849/0.0009849, allocations: 51.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1401, allocations: 80.2 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5151/0.6553, allocations: 240.5 MB / 0.875 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02152/0.6769, allocations: 16.07 MB / 0.8907 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/0.6799, allocations: 75.5 kB / 0.8908 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.6829, allocations: 1.022 MB / 0.8918 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008955/0.6919, allocations: 3.597 MB / 0.8953 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004217/0.6961, allocations: 1.618 MB / 0.8969 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007523/0.7037, allocations: 7.432 MB / 0.9041 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.7056, allocations: 1.413 MB / 0.9055 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00483/0.7105, allocations: 2.358 MB / 0.9078 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003424/0.7139, allocations: 1.766 MB / 0.9095 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.7142, allocations: 100 kB / 0.9096 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005168/0.7194, allocations: 3.145 MB / 0.9127 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007936/0.7202, allocations: 0.7087 MB / 0.9134 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.7216, allocations: 1.073 MB / 0.9144 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004831/0.7264, allocations: 3.641 MB / 0.918 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7264, allocations: 4 kB / 0.918 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7264, allocations: 0 / 0.918 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.7265, allocations: 3.938 kB / 0.918 GB, free: 6.266 MB / 0.6511 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.003951/0.7304, allocations: 2.491 MB / 0.9204 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.7305, allocations: 12.03 kB / 0.9204 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/0.7332, allocations: 0.5125 MB / 0.9209 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.7354, allocations: 1.269 MB / 0.9222 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.7356, allocations: 182.2 kB / 0.9224 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.7358, allocations: 156 kB / 0.9225 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.7385, allocations: 1.73 MB / 0.9242 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.7386, allocations: 4 kB / 0.9242 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.7387, allocations: 63.91 kB / 0.9243 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.705e-05/0.7388, allocations: 58.69 kB / 0.9243 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002388/0.7412, allocations: 1.373 MB / 0.9257 GB, free: 14.21 MB / 0.6667 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.008385/0.7496, allocations: 8.175 MB / 0.9336 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.751, allocations: 0.9051 MB / 0.9345 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008403/0.7519, allocations: 0.5341 MB / 0.935 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.7525, allocations: 324.5 kB / 0.9354 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.7525, allocations: 47.56 kB / 0.9354 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=96): time 4.128e-06/0.7525, allocations: 3.984 kB / 0.9354 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of matching and sorting (n=102): time 0.006421/0.759, allocations: 3.104 MB / 0.9384 GB, free: 316 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.759, allocations: 64.41 kB / 0.9385 GB, free: 240 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.7605, allocations: 1.262 MB / 0.9397 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/0.7606, allocations: 49.7 kB / 0.9398 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005155/0.7611, allocations: 0.8094 MB / 0.9406 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.7613, allocations: 366.7 kB / 0.9409 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.7617, allocations: 226.8 kB / 0.9411 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7618, allocations: 357.9 kB / 0.9415 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008509/0.7627, allocations: 445.8 kB / 0.9419 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.7639, allocations: 0.8312 MB / 0.9427 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.7658, allocations: 1.252 MB / 0.9439 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.7658, allocations: 0 / 0.9439 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002644/0.7684, allocations: 1.402 MB / 0.9453 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.7685, allocations: 12.19 kB / 0.9453 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.7685, allocations: 12 kB / 0.9453 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.7685, allocations: 16 kB / 0.9453 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.7697, allocations: 275.6 kB / 0.9456 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/0.7697, allocations: 23.92 kB / 0.9456 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.7713, allocations: 164.9 kB / 0.9458 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.7714, allocations: 48 kB / 0.9458 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001341/0.7728, allocations: 0.7718 MB / 0.9466 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00101/0.7738, allocations: 0.8248 MB / 0.9474 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001773/0.7756, allocations: 1.233 MB / 0.9486 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.958e-06/0.7756, allocations: 0 / 0.9486 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002291/0.7779, allocations: 1.395 MB / 0.95 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.7779, allocations: 8 kB / 0.95 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.7779, allocations: 8.094 kB / 0.95 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7779, allocations: 20 kB / 0.95 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.779, allocations: 275.5 kB / 0.9503 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.779, allocations: 19.94 kB / 0.9503 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.7806, allocations: 169.7 kB / 0.9504 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.7806, allocations: 52 kB / 0.9505 GB, free: 3.305 MB / 0.6823 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.0002661/0.7809, allocations: 259.8 kB / 0.9507 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.7811, allocations: 169.9 kB / 0.9509 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.7833, allocations: 1.152 MB / 0.952 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.7833, allocations: 12 kB / 0.952 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7833, allocations: 0 / 0.952 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001634/0.7849, allocations: 1.071 MB / 0.9531 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2891/1.074, allocations: 2.771 MB / 0.9558 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.074, allocations: 6.344 kB / 0.9558 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.075, allocations: 249.8 kB / 0.956 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-06/1.075, allocations: 6.438 kB / 0.956 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/1.075, allocations: 28.72 kB / 0.9561 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/1.075, allocations: 9.625 kB / 0.9561 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/1.075, allocations: 2.469 kB / 0.9561 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.092, allocations: 9.493 MB / 0.9653 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/1.093, allocations: 335.4 kB / 0.9657 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.093, allocations: 28.2 kB / 0.9657 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.094, allocations: 138.1 kB / 0.9658 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.094, allocations: 74.58 kB / 0.9659 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/1.094, allocations: 37.36 kB / 0.9659 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001087/1.096, allocations: 0.8434 MB / 0.9668 GB, free: 254.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.096, allocations: 0 / 0.9668 GB, free: 254.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004371/1.1, allocations: 1.331 MB / 0.9681 GB, free: 254.5 MB / 0.6823 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.0005189/1.1, allocations: 283.9 kB / 0.9683 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002905/1.103, allocations: 1.725 MB / 0.97 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.103, allocations: 1.406 kB / 0.97 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008402/1.104, allocations: 0.5229 MB / 0.9705 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/1.109, allocations: 0.9625 MB / 0.9715 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005718/1.114, allocations: 4.765 MB / 0.9761 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.116, allocations: 1.474 MB / 0.9776 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002268/1.118, allocations: 0.5792 MB / 0.9781 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/1.118, allocations: 132.6 kB / 0.9782 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of SimCode: time 6.12e-07/1.118, allocations: 0.5938 kB / 0.9782 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.04537/1.164, allocations: 33.98 MB / 1.011 GB, free: 223 MB / 0.6823 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)