Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001657/0.001657, allocations: 187 kB / 17.34 MB, free: 5.742 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8053/0.8053, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 62.44 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1659, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05478/0.2207, allocations: 49.75 MB / 0.7089 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02182/0.2426, allocations: 12.65 MB / 0.7213 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.246, allocations: 79.56 kB / 0.7214 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.2488, allocations: 0.7565 MB / 0.7221 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00626/0.2552, allocations: 1.815 MB / 0.7239 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004377/0.2596, allocations: 1.356 MB / 0.7252 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005603/0.2652, allocations: 3.254 MB / 0.7284 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.2677, allocations: 1.27 MB / 0.7296 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.2718, allocations: 1.32 MB / 0.7309 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.2737, allocations: 0.933 MB / 0.7318 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004096/0.2742, allocations: 96 kB / 0.7319 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.2771, allocations: 1.068 MB / 0.7329 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005558/0.2777, allocations: 290.8 kB / 0.7332 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.2791, allocations: 0.6722 MB / 0.7339 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.2826, allocations: 1.974 MB / 0.7358 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2826, allocations: 0 / 0.7358 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2826, allocations: 0 / 0.7358 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.429e-05/0.2827, allocations: 8 kB / 0.7358 GB, free: 12.73 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002667/0.2853, allocations: 1.701 MB / 0.7375 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2854, allocations: 8.031 kB / 0.7375 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006223/0.286, allocations: 207.1 kB / 0.7377 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.288, allocations: 1.092 MB / 0.7387 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/0.2881, allocations: 70 kB / 0.7388 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.2882, allocations: 84 kB / 0.7389 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.2898, allocations: 1.003 MB / 0.7399 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.2898, allocations: 0 / 0.7399 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.2899, allocations: 39.94 kB / 0.7399 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.29, allocations: 20 kB / 0.7399 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.2913, allocations: 0.6516 MB / 0.7406 GB, free: 7.672 MB / 0.5762 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.005379/0.2967, allocations: 4.712 MB / 0.7452 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.2978, allocations: 402.6 kB / 0.7455 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.2983, allocations: 220.7 kB / 0.7458 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008797/0.2992, allocations: 1.14 MB / 0.7469 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.2993, allocations: 42.55 kB / 0.7469 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.505e-06/0.2993, allocations: 0 / 0.7469 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.3914/0.6907, allocations: 1.069 MB / 0.748 GB, free: 85.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.6908, allocations: 61.11 kB / 0.748 GB, free: 85.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.6925, allocations: 0.9756 MB / 0.749 GB, free: 85.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.6925, allocations: 31.67 kB / 0.749 GB, free: 85.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.693, allocations: 0.5878 MB / 0.7496 GB, free: 84.96 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.6931, allocations: 102.6 kB / 0.7497 GB, free: 84.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.6933, allocations: 114.4 kB / 0.7498 GB, free: 84.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.6934, allocations: 327 kB / 0.7501 GB, free: 84.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.6939, allocations: 198.4 kB / 0.7503 GB, free: 84.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.6946, allocations: 408.8 kB / 0.7507 GB, free: 84.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.6957, allocations: 0.5997 MB / 0.7513 GB, free: 84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.6957, allocations: 1.469 kB / 0.7513 GB, free: 84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001673/0.6974, allocations: 0.7602 MB / 0.752 GB, free: 83.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6975, allocations: 9.719 kB / 0.752 GB, free: 83.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.6975, allocations: 6 kB / 0.752 GB, free: 83.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006908/0.6982, allocations: 156.9 kB / 0.7522 GB, free: 83.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.6988, allocations: 147 kB / 0.7523 GB, free: 83.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008206/0.6996, allocations: 1.732 MB / 0.754 GB, free: 82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/0.7004, allocations: 83.08 kB / 0.7541 GB, free: 81.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.7004, allocations: 33.69 kB / 0.7541 GB, free: 81.96 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.7009, allocations: 269.3 kB / 0.7544 GB, free: 81.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.701, allocations: 107.2 kB / 0.7545 GB, free: 81.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/0.7029, allocations: 0.7278 MB / 0.7552 GB, free: 81.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.703, allocations: 4.828 kB / 0.7552 GB, free: 81.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.703, allocations: 4.516 kB / 0.7552 GB, free: 81.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.703, allocations: 9.188 kB / 0.7552 GB, free: 81.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.7061, allocations: 1.629 MB / 0.7568 GB, free: 80.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.7062, allocations: 1.844 kB / 0.7568 GB, free: 80.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.7067, allocations: 91.77 kB / 0.7569 GB, free: 80.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006068/0.7073, allocations: 146.9 kB / 0.757 GB, free: 80.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.7073, allocations: 9.844 kB / 0.757 GB, free: 80.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000843/0.7082, allocations: 1.713 MB / 0.7587 GB, free: 78.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7082, allocations: 3.25 kB / 0.7587 GB, free: 78.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.71, allocations: 0.7685 MB / 0.7594 GB, free: 78.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.7104, allocations: 254.1 kB / 0.7597 GB, free: 78.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.7106, allocations: 10.2 kB / 0.7597 GB, free: 78.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.7112, allocations: 41.86 kB / 0.7597 GB, free: 78.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.7113, allocations: 40.39 kB / 0.7598 GB, free: 78.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/0.7114, allocations: 17.33 kB / 0.7598 GB, free: 78.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00132/0.7127, allocations: 0.6594 MB / 0.7604 GB, free: 78.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7127, allocations: 3.219 kB / 0.7604 GB, free: 78.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001685/0.7144, allocations: 374.5 kB / 0.7608 GB, free: 77.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009852/0.7154, allocations: 414.8 kB / 0.7612 GB, free: 77.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.7172, allocations: 0.5496 MB / 0.7617 GB, free: 77.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.7172, allocations: 0.7188 kB / 0.7617 GB, free: 77.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008374/0.718, allocations: 298.4 kB / 0.762 GB, free: 77.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.7206, allocations: 0.5201 MB / 0.7625 GB, free: 77.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.7239, allocations: 1.835 MB / 0.7643 GB, free: 76.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/0.7246, allocations: 1.103 MB / 0.7654 GB, free: 75.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.7249, allocations: 69.36 kB / 0.7655 GB, free: 75.81 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/0.7249, allocations: 5.281 kB / 0.7655 GB, free: 75.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.04362/0.7685, allocations: 32.25 MB / 0.797 GB, free: 54.31 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)