Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001196/0.001196, allocations: 181.7 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.702/1.702, allocations: 194.3 MB / 207.5 MB, free: 3.453 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001649/0.001649, allocations: 109 kB / 252.6 MB, free: 4.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.197/0.197, allocations: 39.94 MB / 337.5 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.555e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 54.85 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4718, allocations: 80.42 MB / 0.523 GB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.4721, allocations: 69.17 kB / 0.5231 GB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02211/0.4942, allocations: 8.199 MB / 0.5311 GB, free: 3.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4942, allocations: 0 / 0.5311 GB, free: 3.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.4942, allocations: 0 / 0.5311 GB, free: 3.617 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002268/0.4945, allocations: 345.1 kB / 0.5314 GB, free: 3.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4945, allocations: 8.031 kB / 0.5314 GB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.4945, allocations: 3.953 kB / 0.5314 GB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.575e-05/0.4946, allocations: 159.1 kB / 0.5316 GB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4946, allocations: 4 kB / 0.5316 GB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.4947, allocations: 0 / 0.5316 GB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.753e-05/0.4947, allocations: 41.06 kB / 0.5316 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.4948, allocations: 0 / 0.5316 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4948, allocations: 7.984 kB / 0.5316 GB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4948, allocations: 3.938 kB / 0.5316 GB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.609e-05/0.4948, allocations: 3.953 kB / 0.5316 GB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.4949, allocations: 149.4 kB / 0.5318 GB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.074e-05/0.495, allocations: 22.59 kB / 0.5318 GB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.281e-05/0.495, allocations: 4.859 kB / 0.5318 GB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.495, allocations: 3.938 kB / 0.5318 GB, free: 2.734 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.495, allocations: 34.62 kB / 0.5318 GB, free: 2.691 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.495, allocations: 4 kB / 0.5318 GB, free: 2.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000122/0.4952, allocations: 29.7 kB / 0.5319 GB, free: 2.652 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.4952, allocations: 51.41 kB / 0.5319 GB, free: 2.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.4952, allocations: 92.19 kB / 0.532 GB, free: 2.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.4952, allocations: 25.7 kB / 0.532 GB, free: 2.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.361e-05/0.4953, allocations: 80.14 kB / 0.5321 GB, free: 2.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.4953, allocations: 12.08 kB / 0.5321 GB, free: 2.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.4953, allocations: 0 / 0.5321 GB, free: 2.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.4953, allocations: 322.1 kB / 0.5324 GB, free: 2.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.4954, allocations: 0 / 0.5324 GB, free: 2.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.4954, allocations: 0 / 0.5324 GB, free: 2.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.31e-05/0.4954, allocations: 7.938 kB / 0.5324 GB, free: 2.043 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4954, allocations: 0 / 0.5324 GB, free: 2.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.315e-05/0.4954, allocations: 33.7 kB / 0.5325 GB, free: 2.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4955, allocations: 4.094 kB / 0.5325 GB, free: 2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4955, allocations: 4 kB / 0.5325 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4955, allocations: 0 / 0.5325 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.4955, allocations: 3.984 kB / 0.5325 GB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.4955, allocations: 4 kB / 0.5325 GB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.4955, allocations: 0 / 0.5325 GB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.4955, allocations: 3.938 kB / 0.5325 GB, free: 1.984 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.4956, allocations: 106.1 kB / 0.5326 GB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/0.4956, allocations: 3.906 kB / 0.5326 GB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.229e-05/0.4957, allocations: 56.14 kB / 0.5326 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4957, allocations: 4 kB / 0.5326 GB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4957, allocations: 4 kB / 0.5326 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.4957, allocations: 0 / 0.5326 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.929e-05/0.4958, allocations: 153 kB / 0.5328 GB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4958, allocations: 7.984 kB / 0.5328 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.4958, allocations: 3.938 kB / 0.5328 GB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4958, allocations: 0 / 0.5328 GB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.4958, allocations: 0 / 0.5328 GB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4958, allocations: 4.031 kB / 0.5328 GB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4958, allocations: 0 / 0.5328 GB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.896e-05/0.4959, allocations: 60.66 kB / 0.5329 GB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.4959, allocations: 77.11 kB / 0.5329 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.4959, allocations: 11.92 kB / 0.5329 GB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.177e-05/0.4959, allocations: 0 / 0.5329 GB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-06/0.496, allocations: 32 / 0.5329 GB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.496, allocations: 8 kB / 0.533 GB, free: 1.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.506e-05/0.496, allocations: 75.28 kB / 0.533 GB, free: 1.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.496, allocations: 0 / 0.533 GB, free: 1.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.4962, allocations: 51.92 kB / 0.5331 GB, free: 1.285 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002224/0.4965, allocations: 142.4 kB / 0.5332 GB, free: 1.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.551e-05/0.4965, allocations: 29.7 kB / 0.5332 GB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4965, allocations: 160 / 0.5332 GB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.4966, allocations: 33.7 kB / 0.5333 GB, free: 1.066 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.712e-05/0.4967, allocations: 7.953 kB / 0.5333 GB, free: 1.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.4968, allocations: 52.55 kB / 0.5333 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.62e-05/0.4969, allocations: 0.677 MB / 0.534 GB, free: 292 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.134e-05/0.497, allocations: 0 / 0.534 GB, free: 292 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-06/0.497, allocations: 11.44 kB / 0.534 GB, free: 280 kB / 346.7 MB Notification: Performance of SimCode: time 6.52e-07/0.497, allocations: 0 / 0.534 GB, free: 280 kB / 346.7 MB Notification: Performance of Templates: time 0.002613/0.4996, allocations: 0.8487 MB / 0.5348 GB, free: 15.45 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1)