Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007838/0.0007837, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008785/0.0008787, allocations: 168.7 kB / 15.95 MB, free: 204 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.365/1.365, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2996/0.2996, allocations: 38.04 MB / 308.4 MB, free: 10.43 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.1. 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.0008201/0.0008202, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1126, allocations: 57.51 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0005947/0.1133, allocations: 226.1 kB / 434.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.115, allocations: 1.345 MB / 435.5 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.115, allocations: 4 kB / 435.5 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.1151, allocations: 3.938 kB / 435.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.862e-05/0.1151, allocations: 0 / 435.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.1156, allocations: 155.6 kB / 435.7 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.686e-05/0.1157, allocations: 7.984 kB / 435.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.1157, allocations: 0 / 435.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.392e-05/0.1157, allocations: 0 / 435.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.1158, allocations: 8 kB / 435.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.1158, allocations: 0 / 435.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.1162, allocations: 259.6 kB / 436 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.1162, allocations: 11.98 kB / 436 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.1162, allocations: 25.7 kB / 436 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1164, allocations: 79.83 kB / 436.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1164, allocations: 0 / 436.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.428e-06/0.1164, allocations: 0 / 436.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1164, allocations: 3.938 kB / 436.1 MB, free: 3.41 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.0002784/0.1167, allocations: 335.4 kB / 436.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1167, allocations: 8.031 kB / 436.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.1168, allocations: 3.953 kB / 436.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.589e-05/0.1169, allocations: 175 kB / 436.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1169, allocations: 4 kB / 436.6 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-06/0.1169, allocations: 3.938 kB / 436.6 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.519e-05/0.117, allocations: 33.7 kB / 436.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.117, allocations: 0 / 436.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.117, allocations: 0 / 436.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.117, allocations: 4 kB / 436.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.1171, allocations: 11.98 kB / 436.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.1174, allocations: 241.2 kB / 436.9 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/0.1175, allocations: 26.53 kB / 436.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.1175, allocations: 4.859 kB / 436.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1175, allocations: 4.062 kB / 436.9 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1176, allocations: 30.56 kB / 436.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1176, allocations: 0 / 436.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.1177, allocations: 41.56 kB / 437 MB, free: 2.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1178, allocations: 59.53 kB / 437 MB, free: 2.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/0.1179, allocations: 97.78 kB / 437.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1179, allocations: 25.7 kB / 437.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.1179, allocations: 92.08 kB / 437.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.1179, allocations: 3.906 kB / 437.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.118, allocations: 0 / 437.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1181, allocations: 310.8 kB / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.1181, allocations: 4.125 kB / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.1181, allocations: 26.56 kB / 437.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.826e-05/0.1181, allocations: 4 kB / 437.6 MB, free: 1.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1182, allocations: 0 / 437.6 MB, free: 1.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.263e-05/0.1182, allocations: 49.62 kB / 437.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1183, allocations: 8 kB / 437.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1183, allocations: 4.094 kB / 437.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1183, allocations: 0 / 437.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.288e-05/0.1183, allocations: 11.95 kB / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1184, allocations: 3.938 kB / 437.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.1184, allocations: 0 / 437.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.1184, allocations: 4 kB / 437.7 MB, free: 1.586 MB / 366.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 7.599e-05/0.1185, allocations: 110.8 kB / 437.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.1185, allocations: 0 / 437.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1186, allocations: 52.81 kB / 437.8 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1186, allocations: 0 / 437.8 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1186, allocations: 7.953 kB / 437.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1186, allocations: 0 / 437.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.1188, allocations: 145.7 kB / 438 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1188, allocations: 0 / 438 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1188, allocations: 7.938 kB / 438 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1188, allocations: 0 / 438 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.1188, allocations: 0 / 438 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1188, allocations: 4.031 kB / 438 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1188, allocations: 0 / 438 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.884e-05/0.1189, allocations: 143.3 kB / 438.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.119, allocations: 77.11 kB / 438.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.119, allocations: 0 / 438.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.957e-05/0.1191, allocations: 4 kB / 438.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-06/0.1191, allocations: 0 / 438.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1191, allocations: 32 / 438.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.855e-05/0.1191, allocations: 83.28 kB / 438.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1191, allocations: 0 / 438.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1194, allocations: 47.94 kB / 438.3 MB, free: 0.8164 MB / 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 (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.0002375/0.1197, allocations: 139.2 kB / 438.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.861e-05/0.1197, allocations: 19.92 kB / 438.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1197, allocations: 0 / 438.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.1198, allocations: 29.98 kB / 438.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.12, allocations: 4 kB / 438.5 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.1202, allocations: 82.7 kB / 438.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.1204, allocations: 0.677 MB / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.108e-05/0.1205, allocations: 0 / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.1205, allocations: 7.438 kB / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1205, allocations: 0 / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of Templates: time 0.003082/0.1236, allocations: 1.046 MB / 440.3 MB, free: 14.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) Environment - environmentSimulation: