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.0007578/0.0007579, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006057/0.006057, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.409/1.409, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3044/0.3044, allocations: 40 MB / 310.7 MB, free: 9.895 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.0005199/0.0005199, allocations: 20 kB / 379.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 57.95 MB / 437.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0006683/0.1142, allocations: 230.1 kB / 437.6 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1158, allocations: 1.427 MB / 439 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.203e-05/0.1159, allocations: 4 kB / 439.1 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.1159, allocations: 4 kB / 439.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.856e-05/0.1159, allocations: 0 / 439.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.1164, allocations: 159.6 kB / 439.2 MB, free: 388 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.596e-05/0.1165, allocations: 4 kB / 439.2 MB, free: 384 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.1165, allocations: 7.938 kB / 439.2 MB, free: 376 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.1165, allocations: 4 kB / 439.2 MB, free: 372 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.1166, allocations: 7.984 kB / 439.2 MB, free: 364 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1166, allocations: 0 / 439.2 MB, free: 364 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.117, allocations: 267.5 kB / 439.5 MB, free: 96 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.117, allocations: 7.984 kB / 439.5 MB, free: 88 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.1171, allocations: 29.7 kB / 439.5 MB, free: 52 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.1173, allocations: 143.7 kB / 439.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1173, allocations: 0 / 439.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1173, allocations: 0 / 439.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.1173, allocations: 0 / 439.7 MB, free: 15.91 MB / 382.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.0003499/0.1177, allocations: 331.5 kB / 440 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1177, allocations: 12.03 kB / 440 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.1178, allocations: 0.9375 kB / 440 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1179, allocations: 168.6 kB / 440.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1179, allocations: 4.375 kB / 440.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.1179, allocations: 384 / 440.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.747e-05/0.118, allocations: 37.95 kB / 440.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.118, allocations: 0 / 440.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1181, allocations: 3.984 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1181, allocations: 4 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.1181, allocations: 0 / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.1182, allocations: 149.7 kB / 440.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.97e-05/0.1183, allocations: 18.58 kB / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.1183, allocations: 12.91 kB / 440.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.1183, allocations: 0 / 440.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1184, allocations: 34.5 kB / 440.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.1184, allocations: 3.938 kB / 440.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001316/0.1185, allocations: 33.7 kB / 440.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.1186, allocations: 55.41 kB / 440.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.1186, allocations: 97.98 kB / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1187, allocations: 25.7 kB / 440.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.1187, allocations: 84.12 kB / 440.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.1187, allocations: 3.938 kB / 440.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.1187, allocations: 9.719 kB / 440.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.1189, allocations: 314.8 kB / 441.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.1189, allocations: 4 kB / 441.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-06/0.1189, allocations: 128 / 441.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/0.1189, allocations: 16.86 kB / 441.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1189, allocations: 0 / 441.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.232e-05/0.119, allocations: 41.59 kB / 441.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.119, allocations: 7.938 kB / 441.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.119, allocations: 7.938 kB / 441.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.119, allocations: 0 / 441.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.367e-05/0.1191, allocations: 4 kB / 441.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.1191, allocations: 0 / 441.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.1191, allocations: 0 / 441.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.1191, allocations: 4.031 kB / 441.1 MB, free: 14.23 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.797e-05/0.1192, allocations: 109.8 kB / 441.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.1192, allocations: 7.938 kB / 441.3 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.1193, allocations: 48.69 kB / 441.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1193, allocations: 0 / 441.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1193, allocations: 4.031 kB / 441.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1193, allocations: 0 / 441.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.919e-05/0.1194, allocations: 157.7 kB / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1194, allocations: 0 / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1194, allocations: 0 / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1194, allocations: 3.938 kB / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.1195, allocations: 0 / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1195, allocations: 0 / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1195, allocations: 0 / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.413e-05/0.1195, allocations: 69.06 kB / 441.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.1196, allocations: 85.05 kB / 441.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-06/0.1196, allocations: 0 / 441.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.1196, allocations: 0 / 441.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.1197, allocations: 4 kB / 441.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1197, allocations: 0 / 441.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.957e-05/0.1197, allocations: 79.27 kB / 441.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1197, allocations: 0 / 441.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.12, allocations: 44.12 kB / 441.7 MB, free: 13.52 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.0002529/0.1202, allocations: 147.1 kB / 441.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.206e-05/0.1203, allocations: 4 kB / 441.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1203, allocations: 0 / 441.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.838e-05/0.1203, allocations: 25.7 kB / 441.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.1205, allocations: 7.656 kB / 441.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.1207, allocations: 94.7 kB / 442 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.1209, allocations: 0.6809 MB / 442.7 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.424e-05/0.1209, allocations: 0 / 442.7 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/0.1209, allocations: 7.438 kB / 442.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1209, allocations: 0 / 442.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of Templates: time 0.002986/0.1239, allocations: 1.058 MB / 443.8 MB, free: 11.44 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: