Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009125/0.0009123, 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.001035/0.001035, 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.335/1.335, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3476/0.3476, allocations: 40 MB / 310.4 MB, free: 9.949 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.0005325/0.0005325, allocations: 16 kB / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1153, allocations: 57.95 MB / 436.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0005346/0.1159, allocations: 228.4 kB / 437 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1175, allocations: 1.339 MB / 438.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.1176, allocations: 0 / 438.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.897e-06/0.1176, allocations: 0 / 438.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.722e-05/0.1176, allocations: 4 kB / 438.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.1181, allocations: 139.7 kB / 438.5 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.301e-05/0.1181, allocations: 15.92 kB / 438.5 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.1182, allocations: 0 / 438.5 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.1182, allocations: 7.938 kB / 438.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.1182, allocations: 7.922 kB / 438.5 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.1183, allocations: 0 / 438.5 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.1186, allocations: 251.7 kB / 438.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.1186, allocations: 4 kB / 438.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.1187, allocations: 25.7 kB / 438.8 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1188, allocations: 83.83 kB / 438.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1188, allocations: 0 / 438.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1188, allocations: 3.938 kB / 438.8 MB, free: 0.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1188, allocations: 0 / 438.8 MB, free: 0.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003333/0.1192, allocations: 331.4 kB / 439.2 MB, free: 132 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1192, allocations: 12.03 kB / 439.2 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.1192, allocations: 7.859 kB / 439.2 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1194, allocations: 167.1 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1194, allocations: 0 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1194, allocations: 0 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1195, allocations: 45.69 kB / 439.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1195, allocations: 3.984 kB / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1195, allocations: 0 / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1196, allocations: 0 / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.933e-05/0.1196, allocations: 7.953 kB / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.1199, allocations: 249.2 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.12, allocations: 18.58 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.12, allocations: 4 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1201, allocations: 30.56 kB / 439.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.1201, allocations: 0 / 439.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001399/0.1202, allocations: 45.66 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1202, allocations: 51.41 kB / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/0.1203, allocations: 97.78 kB / 439.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1203, allocations: 29.95 kB / 439.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.1204, allocations: 95.97 kB / 440 MB, free: 15.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.1204, allocations: 4 kB / 440 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.1204, allocations: 0 / 440 MB, free: 15.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1205, allocations: 310.8 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.1205, allocations: 4 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.1206, allocations: 22.56 kB / 440.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.665e-05/0.1206, allocations: 8 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1206, allocations: 4 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.245e-05/0.1207, allocations: 45.62 kB / 440.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1207, allocations: 4 kB / 440.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1207, allocations: 0 / 440.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1207, allocations: 7.953 kB / 440.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.1208, allocations: 7.938 kB / 440.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1208, allocations: 7.922 kB / 440.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.1208, allocations: 12 kB / 440.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1208, allocations: 4 kB / 440.4 MB, free: 14.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.58e-05/0.1209, allocations: 105.8 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.1209, allocations: 4 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.121, allocations: 44.81 kB / 440.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1211, allocations: 0 / 440.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1211, allocations: 7.984 kB / 440.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1211, allocations: 0 / 440.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.1212, allocations: 145.7 kB / 440.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.1212, allocations: 4 kB / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.1212, allocations: 3.938 kB / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1212, allocations: 0 / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.1212, allocations: 0 / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1213, allocations: 0 / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1213, allocations: 0 / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.599e-05/0.1214, allocations: 139.5 kB / 440.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.1214, allocations: 77.11 kB / 441 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1214, allocations: 4 kB / 441 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.1215, allocations: 0 / 441 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.1215, allocations: 0 / 441 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.1215, allocations: 96 / 441 MB, free: 14.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.589e-05/0.1216, allocations: 83.23 kB / 441.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1216, allocations: 3.938 kB / 441.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1219, allocations: 44.11 kB / 441.1 MB, free: 13.92 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 (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.0002511/0.1221, allocations: 143.2 kB / 441.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.592e-05/0.1222, allocations: 15.92 kB / 441.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1222, allocations: 0 / 441.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.1222, allocations: 33.7 kB / 441.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1224, allocations: 0 / 441.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.1226, allocations: 86.95 kB / 441.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1228, allocations: 0.677 MB / 442.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.207e-05/0.1229, allocations: 0 / 442.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.1229, allocations: 11.44 kB / 442.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1229, allocations: 3.938 kB / 442.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of Templates: time 0.002814/0.1257, allocations: 1.041 MB / 443.1 MB, free: 11.84 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) Environment - environmentSimulation: