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.001193/0.001193, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.301/0.301, allocations: 39.93 MB / 309.7 MB, free: 9.281 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.001606/0.001606, allocations: 67.89 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09627, allocations: 56.89 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001645/0.09796, allocations: 0.4909 MB / 435 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.0996, allocations: 1.399 MB / 436.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.09965, allocations: 0 / 436.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.187e-05/0.09967, allocations: 0 / 436.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.82e-05/0.0997, allocations: 0 / 436.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.1004, allocations: 219.9 kB / 436.6 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.827e-05/0.1004, allocations: 4 kB / 436.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.1005, allocations: 7.969 kB / 436.6 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.686e-05/0.1005, allocations: 4 kB / 436.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.1006, allocations: 0 / 436.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1006, allocations: 7.938 kB / 436.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.101, allocations: 275.6 kB / 436.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.101, allocations: 0 / 436.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.101, allocations: 0 / 436.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1013, allocations: 143.7 kB / 437 MB, free: 1.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1013, allocations: 4 kB / 437 MB, free: 1.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1013, allocations: 0 / 437 MB, free: 1.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1013, allocations: 0 / 437 MB, free: 1.113 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.0003922/0.1017, allocations: 331.5 kB / 437.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1017, allocations: 15.89 kB / 437.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.1018, allocations: 8.875 kB / 437.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1019, allocations: 160.7 kB / 437.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1019, allocations: 4.359 kB / 437.5 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.1019, allocations: 4.375 kB / 437.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.035e-05/0.102, allocations: 34.02 kB / 437.6 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.102, allocations: 0 / 437.6 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1021, allocations: 4 kB / 437.6 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1021, allocations: 0 / 437.6 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.1021, allocations: 3.938 kB / 437.6 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1022, allocations: 157.6 kB / 437.7 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.549e-05/0.1023, allocations: 18.58 kB / 437.8 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.1023, allocations: 8.953 kB / 437.8 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.1023, allocations: 0 / 437.8 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1024, allocations: 38.5 kB / 437.8 MB, free: 184 kB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.1024, allocations: 0 / 437.8 MB, free: 184 kB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.1025, allocations: 45.72 kB / 437.9 MB, free: 132 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1025, allocations: 51.41 kB / 437.9 MB, free: 68 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.1026, allocations: 97.86 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1026, allocations: 25.7 kB / 438 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.1027, allocations: 84.08 kB / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1027, allocations: 3.906 kB / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.1027, allocations: 13.72 kB / 438.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.1028, allocations: 319 kB / 438.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.1029, allocations: 4 kB / 438.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.1029, allocations: 4 kB / 438.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.1029, allocations: 8.797 kB / 438.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1029, allocations: 0 / 438.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.435e-05/0.103, allocations: 33.7 kB / 438.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.103, allocations: 7.938 kB / 438.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.103, allocations: 3.984 kB / 438.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.103, allocations: 4 kB / 438.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.1031, allocations: 8.078 kB / 438.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1031, allocations: 0 / 438.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.1031, allocations: 0 / 438.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1031, allocations: 4 kB / 438.5 MB, free: 15.41 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.412e-05/0.1032, allocations: 109.8 kB / 438.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1032, allocations: 7.875 kB / 438.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.1033, allocations: 48.75 kB / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1033, allocations: 0 / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1034, allocations: 0 / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1034, allocations: 4 kB / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.358e-05/0.1034, allocations: 145.7 kB / 438.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.1035, allocations: 3.984 kB / 438.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-06/0.1035, allocations: 4 kB / 438.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1035, allocations: 3.938 kB / 438.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1035, allocations: 0 / 438.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1035, allocations: 0 / 438.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1035, allocations: 4.031 kB / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.329e-05/0.1036, allocations: 53.14 kB / 438.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.1036, allocations: 89.03 kB / 439 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1036, allocations: 0 / 439 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.1037, allocations: 11.94 kB / 439 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.1037, allocations: 0 / 439 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1037, allocations: 0 / 439 MB, free: 14.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.963e-05/0.1037, allocations: 83.31 kB / 439.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1038, allocations: 0 / 439.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.104, allocations: 39.98 kB / 439.1 MB, free: 14.71 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.0002385/0.1043, allocations: 143.2 kB / 439.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.236e-05/0.1043, allocations: 4 kB / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1044, allocations: 0 / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.1044, allocations: 33.69 kB / 439.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.1045, allocations: 11.42 kB / 439.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.1047, allocations: 84.94 kB / 439.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.105, allocations: 0.6844 MB / 440.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.519e-05/0.105, allocations: 0 / 440.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.105, allocations: 7.438 kB / 440.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.105, allocations: 0 / 440.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of Templates: time 0.003197/0.1082, allocations: 1.073 MB / 441.1 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)