Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001535/0.001535, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7569/0.7569, allocations: 132.2 MB / 422.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 68.25 kB / 0.5011 GB, free: 9.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, allocations: 80.21 MB / 0.5794 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.3785/0.5366, allocations: 71.82 MB / 0.6495 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0207/0.5573, allocations: 17.11 MB / 0.6663 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004915/0.5623, allocations: 86.41 kB / 0.6663 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004205/0.5666, allocations: 0.8518 MB / 0.6672 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007868/0.5745, allocations: 2.188 MB / 0.6693 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00548/0.58, allocations: 1.858 MB / 0.6711 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01314/0.5931, allocations: 10.61 MB / 0.6815 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008982/0.6021, allocations: 5.63 MB / 0.687 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007586/0.6098, allocations: 2.866 MB / 0.6898 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005804/0.6156, allocations: 2.514 MB / 0.6922 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008051/0.6164, allocations: 157.6 kB / 0.6924 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00433/0.6208, allocations: 1.263 MB / 0.6936 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000914/0.6217, allocations: 0.6662 MB / 0.6943 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003052/0.6248, allocations: 1.649 MB / 0.6959 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00706/0.6318, allocations: 4.602 MB / 0.7004 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.6319, allocations: 1.094 kB / 0.7004 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6319, allocations: 0 / 0.7004 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001568/0.632, allocations: 0 / 0.7004 GB, free: 2.801 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01087/0.6429, allocations: 3.955 MB / 0.7042 GB, free: 20 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.643, allocations: 10.69 kB / 0.7042 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.6457, allocations: 0.5377 MB / 0.7048 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006278/0.652, allocations: 2.647 MB / 0.7074 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.6522, allocations: 144 kB / 0.7075 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004054/0.6526, allocations: 190.6 kB / 0.7077 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004159/0.6567, allocations: 2.305 MB / 0.7099 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.6568, allocations: 11.08 kB / 0.7099 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.657, allocations: 68.38 kB / 0.71 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.657, allocations: 40.22 kB / 0.71 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003719/0.6608, allocations: 1.882 MB / 0.7119 GB, free: 11.19 MB / 0.5294 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.01512/0.6759, allocations: 11.21 MB / 0.7228 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.6787, allocations: 1.338 MB / 0.7241 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.6803, allocations: 1.013 MB / 0.7251 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006946/0.6873, allocations: 3.633 MB / 0.7287 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.6889, allocations: 0.7702 MB / 0.7294 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001909/0.6908, allocations: 286.8 kB / 0.7297 GB, free: 8.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=96): time 6.392e-06/0.6909, allocations: 4 kB / 0.7297 GB, free: 8.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=96): time 0.01286/0.7037, allocations: 4.136 MB / 0.7337 GB, free: 4.133 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.7038, allocations: 64.41 kB / 0.7338 GB, free: 4.059 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005499/0.7093, allocations: 2.856 MB / 0.7366 GB, free: 1.203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.7097, allocations: 57.7 kB / 0.7366 GB, free: 1.141 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001616/0.7113, allocations: 1.432 MB / 0.738 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005669/0.7119, allocations: 339.2 kB / 0.7384 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007612/0.7126, allocations: 331.7 kB / 0.7387 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7128, allocations: 301.1 kB / 0.739 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.7142, allocations: 0.6731 MB / 0.7396 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.7162, allocations: 1.399 MB / 0.741 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.7194, allocations: 1.874 MB / 0.7428 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/0.7194, allocations: 4 kB / 0.7428 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006546/0.726, allocations: 2.785 MB / 0.7455 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.7261, allocations: 41.7 kB / 0.7456 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.7261, allocations: 16 kB / 0.7456 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/0.7287, allocations: 0.6844 MB / 0.7463 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.73, allocations: 293.8 kB / 0.7466 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.732, allocations: 1.889 MB / 0.7484 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/0.7347, allocations: 184.7 kB / 0.7486 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/0.735, allocations: 79.91 kB / 0.7486 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002779/0.7378, allocations: 1.265 MB / 0.7499 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001949/0.7398, allocations: 1.362 MB / 0.7512 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00289/0.7427, allocations: 1.767 MB / 0.7529 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.348e-05/0.7427, allocations: 4 kB / 0.7529 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.005463/0.7482, allocations: 2.638 MB / 0.7555 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.7483, allocations: 45.7 kB / 0.7556 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.7483, allocations: 15.94 kB / 0.7556 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.7493, allocations: 469.1 kB / 0.756 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.7505, allocations: 277.4 kB / 0.7563 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007023/0.7576, allocations: 5.846 MB / 0.762 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/0.7606, allocations: 189.5 kB / 0.7622 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.7609, allocations: 71.97 kB / 0.7622 GB, free: 5.371 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006203/0.7616, allocations: 285.1 kB / 0.7625 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009545/0.7625, allocations: 304.2 kB / 0.7628 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005189/0.7677, allocations: 2.281 MB / 0.765 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.7678, allocations: 12 kB / 0.765 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.7678, allocations: 0 / 0.765 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003392/0.7712, allocations: 1.983 MB / 0.767 GB, free: 424 kB / 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 postOpt removeSimpleEquations (simulation): time 0.009143/0.7803, allocations: 4.332 MB / 0.7712 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.7804, allocations: 8.047 kB / 0.7712 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/0.7812, allocations: 149.2 kB / 0.7714 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.7823, allocations: 472.8 kB / 0.7718 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/0.7824, allocations: 23.98 kB / 0.7718 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.7841, allocations: 1.869 MB / 0.7737 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7841, allocations: 0 / 0.7737 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005869/0.79, allocations: 3.045 MB / 0.7766 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.7916, allocations: 473.2 kB / 0.7771 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009024/0.7925, allocations: 16 kB / 0.7771 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/0.7944, allocations: 143.8 kB / 0.7772 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.7946, allocations: 60.91 kB / 0.7773 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.7947, allocations: 39.97 kB / 0.7773 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003599/0.7983, allocations: 1.951 MB / 0.7792 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7983, allocations: 0 / 0.7792 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005332/0.8037, allocations: 1.361 MB / 0.7806 GB, free: 2.305 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/0.8051, allocations: 443.7 kB / 0.781 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006451/0.8115, allocations: 3.11 MB / 0.784 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8116, allocations: 0 / 0.784 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/0.8133, allocations: 0.7421 MB / 0.7848 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006625/0.8199, allocations: 1.181 MB / 0.7859 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.8301, allocations: 6.035 MB / 0.7918 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/0.8322, allocations: 2.037 MB / 0.7938 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003085/0.8353, allocations: 0.7222 MB / 0.7945 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/0.836, allocations: 195.3 kB / 0.7947 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.836, allocations: 0 / 0.7947 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of Templates: time 0.08367/0.9197, allocations: 51.56 MB / 0.845 GB, free: 0.8359 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)