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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001621/0.001621, allocations: 200.2 kB / 16.26 MB, free: 6.617 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.438/1.438, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.2901/0.2901, allocations: 39.94 MB / 309.4 MB, free: 9.023 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.001312/0.001312, allocations: 71.89 kB / 377.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1057, allocations: 56.88 MB / 434 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00163/0.1074, allocations: 0.5675 MB / 434.6 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.109, allocations: 1.388 MB / 435.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.1091, allocations: 0 / 435.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.1091, allocations: 3.938 kB / 435.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.826e-05/0.1091, allocations: 4 kB / 435.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.1098, allocations: 200.1 kB / 436.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.527e-05/0.1098, allocations: 11.98 kB / 436.2 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.1099, allocations: 4 kB / 436.2 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.806e-05/0.1099, allocations: 11.98 kB / 436.2 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.1099, allocations: 3.938 kB / 436.2 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1099, allocations: 0 / 436.2 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.1103, allocations: 267.6 kB / 436.4 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.1103, allocations: 4 kB / 436.4 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.1103, allocations: 4 kB / 436.4 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1105, allocations: 139.7 kB / 436.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1105, allocations: 0 / 436.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1105, allocations: 0 / 436.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1105, allocations: 4 kB / 436.6 MB, free: 1.117 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003249/0.1109, allocations: 343.1 kB / 436.9 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1109, allocations: 15.83 kB / 436.9 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.1109, allocations: 4.938 kB / 436.9 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.111, allocations: 160.7 kB / 437.1 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.111, allocations: 384 / 437.1 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1111, allocations: 384 / 437.1 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1112, allocations: 41.94 kB / 437.1 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.1112, allocations: 4 kB / 437.1 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1112, allocations: 0 / 437.1 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1112, allocations: 0 / 437.1 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.1112, allocations: 4 kB / 437.1 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.1114, allocations: 153.6 kB / 437.3 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.15e-05/0.1114, allocations: 18.61 kB / 437.3 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.1114, allocations: 4.859 kB / 437.3 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-06/0.1114, allocations: 0 / 437.3 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1114, allocations: 42.56 kB / 437.4 MB, free: 188 kB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1115, allocations: 3.938 kB / 437.4 MB, free: 184 kB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001107/0.1116, allocations: 33.7 kB / 437.4 MB, free: 144 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.1116, allocations: 55.41 kB / 437.4 MB, free: 76 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.1117, allocations: 93.84 kB / 437.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.1117, allocations: 25.7 kB / 437.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.1117, allocations: 84.39 kB / 437.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1118, allocations: 7.906 kB / 437.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.1118, allocations: 13.72 kB / 437.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.34e-05/0.1119, allocations: 310.8 kB / 438 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.1119, allocations: 4 kB / 438 MB, free: 15.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.1119, allocations: 0 / 438 MB, free: 15.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.1119, allocations: 20.72 kB / 438 MB, free: 15.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1119, allocations: 0 / 438 MB, free: 15.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.166e-05/0.112, allocations: 41.77 kB / 438 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.112, allocations: 7.938 kB / 438 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.112, allocations: 0 / 438 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.112, allocations: 0 / 438 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.1121, allocations: 4 kB / 438.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1121, allocations: 0 / 438.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.1121, allocations: 4 kB / 438.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1121, allocations: 0 / 438.1 MB, free: 15.43 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 (1): * Single equations (assignments): 1 * 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.248e-05/0.1122, allocations: 117.8 kB / 438.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.1122, allocations: 3.969 kB / 438.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.1123, allocations: 52.75 kB / 438.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1123, allocations: 0 / 438.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1123, allocations: 0 / 438.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1123, allocations: 3.984 kB / 438.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.822e-05/0.1124, allocations: 145.7 kB / 438.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1124, allocations: 0 / 438.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1124, allocations: 0 / 438.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1125, allocations: 7.969 kB / 438.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.1125, allocations: 0 / 438.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1125, allocations: 7.984 kB / 438.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1125, allocations: 0 / 438.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.491e-05/0.1125, allocations: 61.08 kB / 438.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.1126, allocations: 81.05 kB / 438.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-06/0.1126, allocations: 0 / 438.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.1127, allocations: 12.02 kB / 438.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.1127, allocations: 0 / 438.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1127, allocations: 0 / 438.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.106e-05/0.1127, allocations: 75.28 kB / 438.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1128, allocations: 4 kB / 438.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.113, allocations: 40 kB / 438.7 MB, free: 14.72 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002333/0.1132, allocations: 143.1 kB / 438.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.142e-05/0.1133, allocations: 8.094 kB / 438.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1133, allocations: 0 / 438.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.1133, allocations: 29.7 kB / 438.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.1135, allocations: 4 kB / 438.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.1137, allocations: 92.86 kB / 438.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.1139, allocations: 0.6728 MB / 439.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.472e-05/0.1139, allocations: 0 / 439.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.1139, allocations: 15.56 kB / 439.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1139, allocations: 3.938 kB / 439.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of Templates: time 0.00287/0.1168, allocations: 1.073 MB / 440.7 MB, free: 12.62 MB / 382.1 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)