Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 108.7 kB / 16.41 MB, free: 6.473 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.001492/0.001492, allocations: 187 kB / 17.34 MB, free: 5.754 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.323/1.323, 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/package.mo): time 0.804/0.804, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.19 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1609, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.03009/0.191, allocations: 29.62 MB / 0.6892 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.2049, allocations: 9.891 MB / 0.6989 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.2068, allocations: 47.75 kB / 0.6989 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.2092, allocations: 0.6758 MB / 0.6996 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.2136, allocations: 1.47 MB / 0.701 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.2175, allocations: 1.379 MB / 0.7024 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005279/0.2228, allocations: 3.823 MB / 0.7061 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.2252, allocations: 1.361 MB / 0.7075 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.229, allocations: 1.525 MB / 0.7089 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.2311, allocations: 1.038 MB / 0.71 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004921/0.2316, allocations: 120 kB / 0.7101 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.2344, allocations: 1.123 MB / 0.7112 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000687/0.2351, allocations: 402.6 kB / 0.7115 GB, free: 5.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.2367, allocations: 0.789 MB / 0.7123 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004522/0.2412, allocations: 2.454 MB / 0.7147 GB, free: 2.395 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.2413, allocations: 0 / 0.7147 GB, free: 2.395 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2413, allocations: 0 / 0.7147 GB, free: 2.395 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.063e-05/0.2414, allocations: 0 / 0.7147 GB, free: 2.395 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004558/0.2459, allocations: 1.942 MB / 0.7166 GB, free: 404 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.246, allocations: 8.031 kB / 0.7166 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.2473, allocations: 250.8 kB / 0.7169 GB, free: 144 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.2503, allocations: 1.351 MB / 0.7182 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.2504, allocations: 66 kB / 0.7182 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.2506, allocations: 80 kB / 0.7183 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.2525, allocations: 0.9811 MB / 0.7193 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.2525, allocations: 0 / 0.7193 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/0.2526, allocations: 32 kB / 0.7193 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.2526, allocations: 20 kB / 0.7193 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.2542, allocations: 0.7025 MB / 0.72 GB, free: 12.8 MB / 0.5606 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.006239/0.2604, allocations: 4.852 MB / 0.7247 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2616, allocations: 0.5506 MB / 0.7253 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/0.2622, allocations: 321.2 kB / 0.7256 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002252/0.2644, allocations: 1.576 MB / 0.7271 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006704/0.2651, allocations: 332 kB / 0.7274 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003635/0.2655, allocations: 47.53 kB / 0.7275 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 3.357e-06/0.2655, allocations: 0 / 0.7275 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.003032/0.2685, allocations: 1.161 MB / 0.7286 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.2686, allocations: 59.34 kB / 0.7287 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.2702, allocations: 1.282 MB / 0.7299 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.2702, allocations: 41.7 kB / 0.73 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/0.2708, allocations: 0.6528 MB / 0.7306 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.2709, allocations: 149.8 kB / 0.7308 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.2711, allocations: 154.2 kB / 0.7309 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2712, allocations: 341.8 kB / 0.7312 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.2718, allocations: 275.6 kB / 0.7315 GB, free: 464 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007476/0.2725, allocations: 0.5787 MB / 0.7321 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.2738, allocations: 0.8098 MB / 0.7328 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.2738, allocations: 4 kB / 0.7329 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00216/0.2759, allocations: 1.094 MB / 0.7339 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.276, allocations: 39.58 kB / 0.734 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.276, allocations: 11.94 kB / 0.734 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/0.2767, allocations: 189 kB / 0.7342 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.2772, allocations: 139.8 kB / 0.7343 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007258/0.2779, allocations: 0.763 MB / 0.735 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007974/0.2788, allocations: 44.55 kB / 0.7351 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.2788, allocations: 39.98 kB / 0.7351 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009858/0.2798, allocations: 0.56 MB / 0.7357 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006463/0.2805, allocations: 0.5553 MB / 0.7362 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001047/0.2816, allocations: 0.7395 MB / 0.7369 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.551e-06/0.2816, allocations: 0 / 0.7369 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001909/0.2835, allocations: 1.057 MB / 0.738 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.2835, allocations: 37.69 kB / 0.738 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.2836, allocations: 8.531 kB / 0.738 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/0.2838, allocations: 112.7 kB / 0.7381 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.2843, allocations: 131.8 kB / 0.7382 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.2867, allocations: 2.353 MB / 0.7405 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/0.2876, allocations: 52.64 kB / 0.7406 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/0.2877, allocations: 39.97 kB / 0.7406 GB, free: 6.332 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002961/0.288, allocations: 232 kB / 0.7408 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.2883, allocations: 130.4 kB / 0.741 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.2902, allocations: 0.8649 MB / 0.7418 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.2902, allocations: 7.938 kB / 0.7418 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2902, allocations: 4 kB / 0.7418 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/0.2915, allocations: 0.8727 MB / 0.7427 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.2947, allocations: 1.799 MB / 0.7444 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.2947, allocations: 4 kB / 0.7444 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.2951, allocations: 83.94 kB / 0.7445 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/0.2954, allocations: 116.8 kB / 0.7446 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.2955, allocations: 15.98 kB / 0.7446 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006012/0.2961, allocations: 0.7489 MB / 0.7454 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2961, allocations: 4 kB / 0.7454 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.2981, allocations: 1.186 MB / 0.7465 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3929/0.691, allocations: 246.8 kB / 0.7468 GB, free: 82.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.6913, allocations: 12.08 kB / 0.7468 GB, free: 82.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.6919, allocations: 30.34 kB / 0.7468 GB, free: 82.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.692, allocations: 35.52 kB / 0.7468 GB, free: 82.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.6921, allocations: 26.03 kB / 0.7469 GB, free: 82.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001553/0.6937, allocations: 0.8869 MB / 0.7477 GB, free: 82.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6937, allocations: 0.5 kB / 0.7477 GB, free: 82.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002087/0.6958, allocations: 0.6474 MB / 0.7484 GB, free: 82.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009922/0.6968, allocations: 376.3 kB / 0.7487 GB, free: 82.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002802/0.6996, allocations: 1.328 MB / 0.75 GB, free: 81.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.6996, allocations: 0 / 0.75 GB, free: 81.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007233/0.7003, allocations: 324.7 kB / 0.7503 GB, free: 81.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.7029, allocations: 0.6003 MB / 0.7509 GB, free: 81.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.7071, allocations: 2.271 MB / 0.7531 GB, free: 80.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.7085, allocations: 1.254 MB / 0.7544 GB, free: 80.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/0.709, allocations: 105.2 kB / 0.7545 GB, free: 80.15 MB / 0.5762 GB Notification: Performance of SimCode: time 2.214e-06/0.709, allocations: 0 / 0.7545 GB, free: 80.15 MB / 0.5762 GB Notification: Performance of Templates: time 0.04935/0.7583, allocations: 29.24 MB / 0.783 GB, free: 66.12 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)