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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 183 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.7515/0.7515, allocations: 132.2 MB / 149 MB, free: 12.14 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.348/1.348, allocations: 222.9 MB / 403.3 MB, free: 7.07 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.001019/0.001019, allocations: 111.5 kB / 484.4 MB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 51.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1399, allocations: 80.21 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02938/0.1693, allocations: 29.45 MB / 0.6689 GB, free: 9.188 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.1839, allocations: 9.993 MB / 0.6787 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.1858, allocations: 39.75 kB / 0.6787 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.1878, allocations: 0.5989 MB / 0.6793 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003697/0.1915, allocations: 1.348 MB / 0.6806 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.1946, allocations: 1.235 MB / 0.6818 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00606/0.2007, allocations: 5.046 MB / 0.6868 GB, free: 6.891 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.203, allocations: 1.134 MB / 0.6879 GB, free: 5.727 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.2059, allocations: 1.323 MB / 0.6892 GB, free: 4.398 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.2079, allocations: 1.05 MB / 0.6902 GB, free: 3.344 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003555/0.2083, allocations: 68 kB / 0.6903 GB, free: 3.277 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.211, allocations: 1.065 MB / 0.6913 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005147/0.2115, allocations: 338.6 kB / 0.6916 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.2127, allocations: 0.7188 MB / 0.6923 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2903/0.503, allocations: 2.371 MB / 0.6946 GB, free: 19.56 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.503, allocations: 0 / 0.6946 GB, free: 19.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.503, allocations: 0 / 0.6946 GB, free: 19.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.222e-05/0.5031, allocations: 0.9062 kB / 0.6946 GB, free: 19.56 MB / 490.7 MB 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.003717/0.5068, allocations: 1.95 MB / 0.6965 GB, free: 18.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.5069, allocations: 10.19 kB / 0.6965 GB, free: 18.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.508, allocations: 245.6 kB / 0.6968 GB, free: 18.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.5108, allocations: 1.325 MB / 0.6981 GB, free: 18.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.576e-05/0.5109, allocations: 74.84 kB / 0.6981 GB, free: 18.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.511, allocations: 86.58 kB / 0.6982 GB, free: 18.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.5129, allocations: 0.9767 MB / 0.6992 GB, free: 17.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.5129, allocations: 0.8438 kB / 0.6992 GB, free: 17.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.513, allocations: 33.09 kB / 0.6992 GB, free: 17.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.5131, allocations: 18.75 kB / 0.6992 GB, free: 17.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.5146, allocations: 0.7141 MB / 0.6999 GB, free: 17.89 MB / 490.7 MB 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.006199/0.5209, allocations: 4.948 MB / 0.7048 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.5222, allocations: 0.5594 MB / 0.7053 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.5228, allocations: 313.8 kB / 0.7056 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/0.5251, allocations: 1.576 MB / 0.7071 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006894/0.5258, allocations: 330.4 kB / 0.7075 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004042/0.5262, allocations: 100.9 kB / 0.7076 GB, free: 13.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=44): time 3.456e-06/0.5263, allocations: 2.906 kB / 0.7076 GB, free: 13.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.003189/0.5294, allocations: 1.147 MB / 0.7087 GB, free: 13.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.5295, allocations: 59.94 kB / 0.7087 GB, free: 13.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.5312, allocations: 1.266 MB / 0.71 GB, free: 13.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.5313, allocations: 38.92 kB / 0.71 GB, free: 13.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004983/0.5318, allocations: 0.6479 MB / 0.7106 GB, free: 13.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.532, allocations: 153.5 kB / 0.7108 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.5322, allocations: 164.3 kB / 0.7109 GB, free: 13.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.5323, allocations: 332 kB / 0.7113 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.5328, allocations: 261.4 kB / 0.7115 GB, free: 12.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.5336, allocations: 0.5927 MB / 0.7121 GB, free: 12.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.5348, allocations: 0.8046 MB / 0.7129 GB, free: 12.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5348, allocations: 6.25 kB / 0.7129 GB, free: 12.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002245/0.5371, allocations: 1.092 MB / 0.714 GB, free: 11.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.5371, allocations: 36.23 kB / 0.714 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.5371, allocations: 7.625 kB / 0.714 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.5378, allocations: 190.2 kB / 0.7142 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.5383, allocations: 139.6 kB / 0.7143 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006791/0.539, allocations: 0.7648 MB / 0.7151 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009392/0.54, allocations: 79.67 kB / 0.7151 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/0.5401, allocations: 36.3 kB / 0.7152 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000974/0.541, allocations: 0.552 MB / 0.7157 GB, free: 11.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006182/0.5417, allocations: 0.5508 MB / 0.7162 GB, free: 10.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001014/0.5427, allocations: 0.7406 MB / 0.717 GB, free: 10.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.164e-06/0.5427, allocations: 4.141 kB / 0.717 GB, free: 10.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001811/0.5445, allocations: 1.055 MB / 0.718 GB, free: 10.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.5446, allocations: 36.58 kB / 0.718 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5446, allocations: 6.875 kB / 0.718 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.5448, allocations: 107 kB / 0.7181 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.5453, allocations: 137.7 kB / 0.7183 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.5471, allocations: 2.151 MB / 0.7204 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/0.548, allocations: 74.69 kB / 0.7204 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.5481, allocations: 37.62 kB / 0.7205 GB, free: 8.742 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (72): * Single equations (assignments): 69 * 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.0002907/0.5484, allocations: 225.9 kB / 0.7207 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.5486, allocations: 130.4 kB / 0.7208 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.5508, allocations: 0.8608 MB / 0.7217 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.5508, allocations: 10.41 kB / 0.7217 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5508, allocations: 0 / 0.7217 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001517/0.5523, allocations: 0.8592 MB / 0.7225 GB, free: 7.992 MB / 490.7 MB 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.004294/0.5567, allocations: 1.85 MB / 0.7243 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.5567, allocations: 1.188 kB / 0.7243 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.5571, allocations: 78.02 kB / 0.7244 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003282/0.5574, allocations: 128 kB / 0.7245 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.5575, allocations: 14.59 kB / 0.7245 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005613/0.5581, allocations: 0.7506 MB / 0.7253 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5581, allocations: 5.031 kB / 0.7253 GB, free: 7.004 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/0.5758, allocations: 9.207 MB / 0.7343 GB, free: 1.926 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005722/0.5765, allocations: 254.4 kB / 0.7345 GB, free: 1.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.5767, allocations: 6.875 kB / 0.7345 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/0.5774, allocations: 64.84 kB / 0.7346 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.5776, allocations: 31.91 kB / 0.7346 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/0.5776, allocations: 22.2 kB / 0.7346 GB, free: 1.707 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001391/0.579, allocations: 0.8783 MB / 0.7355 GB, free: 1.371 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.579, allocations: 3.656 kB / 0.7355 GB, free: 1.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004425/0.5835, allocations: 1.088 MB / 0.7365 GB, free: 1.199 MB / 490.7 MB 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 (39): * Single equations (assignments): 33 * 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.001333/0.5848, allocations: 451.5 kB / 0.737 GB, free: 1.035 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002912/0.5877, allocations: 1.302 MB / 0.7382 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5878, allocations: 0 / 0.7382 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007572/0.5885, allocations: 328 kB / 0.7386 GB, free: 424 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/0.5918, allocations: 0.5611 MB / 0.7391 GB, free: 144 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006512/0.5983, allocations: 3.265 MB / 0.7423 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.5999, allocations: 1.297 MB / 0.7436 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001912/0.6018, allocations: 333.7 kB / 0.7439 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/0.6023, allocations: 111.5 kB / 0.744 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/0.6023, allocations: 0 / 0.744 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.05104/0.6533, allocations: 29.03 MB / 0.7723 GB, free: 1.535 MB / 0.5105 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)