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.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00115/0.00115, allocations: 195.5 kB / 16.14 MB, free: 6.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 222 MB, free: 4.738 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.3083/0.3083, allocations: 39.94 MB / 309.3 MB, free: 9.582 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.001284/0.001284, allocations: 67.91 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1045, allocations: 56.88 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001788/0.1063, allocations: 0.6375 MB / 434.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.1066, allocations: 135.5 kB / 434.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.1067, allocations: 0 / 434.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.1067, allocations: 0 / 434.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1069, allocations: 31.91 kB / 434.6 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.645e-06/0.1069, allocations: 0 / 434.6 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.345e-05/0.1069, allocations: 19.92 kB / 434.6 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.107, allocations: 4 kB / 434.6 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.107, allocations: 11.92 kB / 434.6 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.261e-05/0.107, allocations: 19.86 kB / 434.7 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.1071, allocations: 4 kB / 434.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.1072, allocations: 47.95 kB / 434.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.1072, allocations: 7.922 kB / 434.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.1072, allocations: 3.938 kB / 434.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.59e-05/0.1073, allocations: 47.88 kB / 434.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1073, allocations: 0 / 434.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1073, allocations: 0 / 434.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1073, allocations: 0 / 434.8 MB, free: 3.445 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.0002766/0.1076, allocations: 343.7 kB / 435.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1076, allocations: 8.031 kB / 435.1 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.1077, allocations: 4.938 kB / 435.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.5e-05/0.1078, allocations: 164.3 kB / 435.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1078, allocations: 12.36 kB / 435.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1078, allocations: 4.359 kB / 435.3 MB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1079, allocations: 58.19 kB / 435.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1079, allocations: 192 / 435.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1079, allocations: 3.938 kB / 435.4 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.108, allocations: 4 kB / 435.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.108, allocations: 63.83 kB / 435.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.1082, allocations: 173.6 kB / 435.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.1083, allocations: 74.56 kB / 435.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.1084, allocations: 32.84 kB / 435.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.1087, allocations: 259.3 kB / 435.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1087, allocations: 38.78 kB / 436 MB, free: 2.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1087, allocations: 0 / 436 MB, free: 2.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002044/0.1089, allocations: 105.5 kB / 436.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.109, allocations: 55.41 kB / 436.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.088e-05/0.109, allocations: 93.86 kB / 436.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.109, allocations: 25.7 kB / 436.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.08e-05/0.1091, allocations: 80.14 kB / 436.3 MB, free: 1.617 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.1091, allocations: 35.58 kB / 436.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.1092, allocations: 25.72 kB / 436.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.1093, allocations: 318.8 kB / 436.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/0.1093, allocations: 16 kB / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.1093, allocations: 15.98 kB / 436.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.833e-05/0.1094, allocations: 61.3 kB / 436.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1094, allocations: 0 / 436.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001266/0.1096, allocations: 77.69 kB / 436.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1096, allocations: 7.984 kB / 436.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1096, allocations: 7.938 kB / 436.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1096, allocations: 4 kB / 436.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.1097, allocations: 15.94 kB / 436.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1097, allocations: 0 / 436.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.1097, allocations: 3.938 kB / 436.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1098, allocations: 4 kB / 436.9 MB, free: 1.012 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/0.1098, allocations: 117.8 kB / 437 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.1099, allocations: 7.906 kB / 437 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.11, allocations: 109.5 kB / 437.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.11, allocations: 0 / 437.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1101, allocations: 4 kB / 437.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1101, allocations: 0 / 437.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.1102, allocations: 169.7 kB / 437.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1102, allocations: 0 / 437.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.1102, allocations: 12 kB / 437.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1103, allocations: 7.875 kB / 437.3 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1103, allocations: 7.938 kB / 437.3 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1103, allocations: 0 / 437.3 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1103, allocations: 0 / 437.3 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.1104, allocations: 125.1 kB / 437.5 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.1105, allocations: 81.05 kB / 437.5 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1105, allocations: 3.938 kB / 437.6 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.626e-05/0.1105, allocations: 8 kB / 437.6 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.1105, allocations: 3.984 kB / 437.6 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1105, allocations: 4 kB / 437.6 MB, free: 268 kB / 366.1 MB Notification: Performance of sorting global known variables: time 2.448e-05/0.1106, allocations: 79.28 kB / 437.6 MB, free: 188 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1106, allocations: 0 / 437.6 MB, free: 188 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001956/0.1108, allocations: 20 kB / 437.7 MB, free: 168 kB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001222/0.1109, allocations: 107.2 kB / 437.8 MB, free: 52 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.111, allocations: 51.92 kB / 437.8 MB, free: 0 / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.111, allocations: 4.047 kB / 437.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.1111, allocations: 31.88 kB / 437.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.1112, allocations: 8 kB / 437.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.1115, allocations: 158.7 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.1117, allocations: 0.6809 MB / 438.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.516e-05/0.1118, allocations: 7.984 kB / 438.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.1118, allocations: 11.44 kB / 438.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1118, allocations: 0 / 438.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of Templates: time 0.002283/0.1141, allocations: 0.6311 MB / 439.3 MB, free: 14.42 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (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)