Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001102/0.001102, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3143/0.3143, allocations: 40 MB / 310.4 MB, free: 9.902 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006072/0.0006073, allocations: 20 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1008, allocations: 57.96 MB / 436.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006306/0.1015, allocations: 300.2 kB / 437.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000291/0.1018, allocations: 109.3 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.1018, allocations: 0 / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.038e-05/0.1018, allocations: 0 / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.102, allocations: 35.83 kB / 437.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.1021, allocations: 0 / 437.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.1021, allocations: 19.91 kB / 437.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.1022, allocations: 4 kB / 437.2 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.1022, allocations: 4 kB / 437.2 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.1023, allocations: 15.91 kB / 437.2 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1023, allocations: 4 kB / 437.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1024, allocations: 47.94 kB / 437.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-06/0.1024, allocations: 0 / 437.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.1024, allocations: 33.64 kB / 437.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.592e-05/0.1025, allocations: 27.95 kB / 437.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1025, allocations: 0 / 437.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1025, allocations: 0 / 437.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1025, allocations: 8 kB / 437.4 MB, free: 2.004 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002595/0.1028, allocations: 335.5 kB / 437.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1028, allocations: 12.03 kB / 437.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.1029, allocations: 0 / 437.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.859e-05/0.103, allocations: 171 kB / 437.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.103, allocations: 0 / 437.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.103, allocations: 4 kB / 437.9 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1031, allocations: 57.62 kB / 437.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1032, allocations: 0 / 437.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1032, allocations: 4 kB / 437.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1032, allocations: 11.92 kB / 437.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.176e-05/0.1033, allocations: 55.94 kB / 438 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.1034, allocations: 173.5 kB / 438.2 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1036, allocations: 82.58 kB / 438.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.1039, allocations: 251.3 kB / 438.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1039, allocations: 34.56 kB / 438.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1039, allocations: 4 kB / 438.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002096/0.1041, allocations: 101.8 kB / 438.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.1042, allocations: 55.41 kB / 438.7 MB, free: 456 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.1042, allocations: 93.84 kB / 438.8 MB, free: 352 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1043, allocations: 25.7 kB / 438.8 MB, free: 320 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.351e-05/0.1043, allocations: 80.14 kB / 438.9 MB, free: 236 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.1043, allocations: 35.59 kB / 438.9 MB, free: 200 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.1043, allocations: 8 kB / 438.9 MB, free: 192 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1045, allocations: 318.8 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.1045, allocations: 12 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.1045, allocations: 27.92 kB / 439.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.1046, allocations: 20 kB / 439.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1046, allocations: 0 / 439.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001202/0.1047, allocations: 86.12 kB / 439.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1047, allocations: 4 kB / 439.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1047, allocations: 0 / 439.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1048, allocations: 4 kB / 439.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.1049, allocations: 19.98 kB / 439.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1049, allocations: 0 / 439.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.1049, allocations: 3.938 kB / 439.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1049, allocations: 7.938 kB / 439.4 MB, free: 15.68 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.946e-05/0.105, allocations: 113.8 kB / 439.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.105, allocations: 7.906 kB / 439.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.1052, allocations: 109.6 kB / 439.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1052, allocations: 4 kB / 439.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1052, allocations: 0 / 439.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1052, allocations: 0 / 439.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.1053, allocations: 173.6 kB / 439.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1053, allocations: 0 / 439.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.1054, allocations: 19.92 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1054, allocations: 0 / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1054, allocations: 0 / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1054, allocations: 4 kB / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1055, allocations: 0 / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.1056, allocations: 120.9 kB / 440 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.1056, allocations: 85.05 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1056, allocations: 0 / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.526e-05/0.1057, allocations: 4 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.1057, allocations: 7.984 kB / 440 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1057, allocations: 0 / 440 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.778e-05/0.1057, allocations: 79.28 kB / 440.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1058, allocations: 4.375 kB / 440.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001942/0.106, allocations: 20 kB / 440.2 MB, free: 14.84 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001185/0.1061, allocations: 107.2 kB / 440.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.1062, allocations: 55.86 kB / 440.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1062, allocations: 0 / 440.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.1063, allocations: 35.92 kB / 440.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.907e-05/0.1064, allocations: 0 / 440.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.1067, allocations: 162.5 kB / 440.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.1069, allocations: 0.6809 MB / 441.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.1069, allocations: 4 kB / 441.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.1069, allocations: 15.42 kB / 441.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.107, allocations: 0 / 441.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.002465/0.1094, allocations: 0.607 MB / 441.8 MB, free: 13.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) Environment - environmentSimulation: