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.006028/0.006028, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.00177/0.00177, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.325/1.325, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1838/0.1838, allocations: 39.97 MB / 309.9 MB, free: 4.008 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.001558/0.001558, allocations: 73.45 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 56.87 MB / 492.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.002056/0.1074, allocations: 0.4893 MB / 493.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.1098, allocations: 1.398 MB / 494.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.1098, allocations: 0 / 494.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.1099, allocations: 0 / 494.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.429e-05/0.1099, allocations: 0 / 494.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007372/0.1106, allocations: 223.9 kB / 494.7 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.202e-05/0.1107, allocations: 7.984 kB / 494.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.1108, allocations: 4 kB / 494.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.1108, allocations: 0 / 494.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.1109, allocations: 8 kB / 494.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1109, allocations: 0 / 494.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.1113, allocations: 275.6 kB / 495 MB, free: 376 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.1113, allocations: 7.984 kB / 495 MB, free: 368 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.1114, allocations: 3.938 kB / 495 MB, free: 364 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.1116, allocations: 139.7 kB / 495.2 MB, free: 224 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1116, allocations: 0 / 495.2 MB, free: 224 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1116, allocations: 0 / 495.2 MB, free: 224 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1116, allocations: 0 / 495.2 MB, free: 224 kB / 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.0004227/0.1121, allocations: 343.4 kB / 495.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1121, allocations: 11.89 kB / 495.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1121, allocations: 4.938 kB / 495.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1123, allocations: 164.4 kB / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1124, allocations: 384 / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1124, allocations: 384 / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1125, allocations: 49.98 kB / 495.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1125, allocations: 3.938 kB / 495.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1126, allocations: 0 / 495.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1126, allocations: 0 / 495.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.63e-05/0.1126, allocations: 7.984 kB / 495.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.113, allocations: 252.8 kB / 496 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.1131, allocations: 14.58 kB / 496 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.1131, allocations: 8.922 kB / 496 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.1131, allocations: 48 / 496 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1131, allocations: 42.42 kB / 496.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1131, allocations: 0 / 496.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.1133, allocations: 37.7 kB / 496.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1133, allocations: 55.53 kB / 496.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.1134, allocations: 93.86 kB / 496.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1135, allocations: 25.7 kB / 496.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.1135, allocations: 88.03 kB / 496.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.1135, allocations: 3.906 kB / 496.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.1136, allocations: 17.72 kB / 496.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1137, allocations: 314.8 kB / 496.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.1137, allocations: 8.125 kB / 496.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.1138, allocations: 30.5 kB / 496.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.1138, allocations: 18.58 kB / 496.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1138, allocations: 0 / 496.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.066e-05/0.1139, allocations: 53.62 kB / 496.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1139, allocations: 8 kB / 496.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1139, allocations: 0 / 496.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.114, allocations: 0 / 496.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.731e-05/0.114, allocations: 4 kB / 496.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.114, allocations: 11.92 kB / 496.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.1141, allocations: 4 kB / 496.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1141, allocations: 4 kB / 496.8 MB, free: 14.33 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.646e-05/0.1142, allocations: 117.7 kB / 496.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.1142, allocations: 4.094 kB / 496.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1143, allocations: 40.81 kB / 497 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1143, allocations: 0 / 497 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1143, allocations: 0 / 497 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1143, allocations: 4 kB / 497 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.1145, allocations: 157.5 kB / 497.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1145, allocations: 0 / 497.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.1145, allocations: 0 / 497.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1145, allocations: 8.031 kB / 497.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.1145, allocations: 7.875 kB / 497.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1146, allocations: 0 / 497.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1146, allocations: 0 / 497.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.1147, allocations: 136.9 kB / 497.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.1147, allocations: 77.11 kB / 497.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1147, allocations: 0 / 497.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.1148, allocations: 8.031 kB / 497.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1148, allocations: 4.078 kB / 497.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1148, allocations: 0 / 497.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.112e-05/0.1149, allocations: 79.28 kB / 497.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1149, allocations: 3.938 kB / 497.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.1152, allocations: 39.98 kB / 497.5 MB, free: 13.55 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.0003152/0.1156, allocations: 135.2 kB / 497.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.1157, allocations: 20.02 kB / 497.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1157, allocations: 0 / 497.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.1157, allocations: 25.7 kB / 497.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.116, allocations: 7.938 kB / 497.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.1162, allocations: 96.83 kB / 497.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1165, allocations: 0.669 MB / 498.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.307e-05/0.1166, allocations: 4.25 kB / 498.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.1166, allocations: 11.44 kB / 498.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1166, allocations: 0 / 498.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of Templates: time 0.003833/0.1204, allocations: 1.073 MB / 499.5 MB, free: 11.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (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)