Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008316/0.0008316, allocations: 90.98 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.005697/0.005697, allocations: 170.6 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.289/1.289, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.2868/0.2868, allocations: 38.04 MB / 308.8 MB, free: 10.41 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.0005363/0.0005364, allocations: 15.94 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09732, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006185/0.09797, allocations: 317.8 kB / 434.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003472/0.09833, allocations: 127.6 kB / 435 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.682e-05/0.09837, allocations: 0 / 435 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.0984, allocations: 0 / 435 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.09862, allocations: 31.84 kB / 435 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.09863, allocations: 4 kB / 435 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.09868, allocations: 19.92 kB / 435 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.09873, allocations: 0 / 435 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.09875, allocations: 7.938 kB / 435.1 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.09881, allocations: 23.84 kB / 435.1 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.09883, allocations: 0 / 435.1 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.09895, allocations: 47.95 kB / 435.1 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.09897, allocations: 11.98 kB / 435.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.09901, allocations: 29.64 kB / 435.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.09912, allocations: 47.88 kB / 435.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.09914, allocations: 7.938 kB / 435.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09915, allocations: 0 / 435.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.09916, allocations: 0 / 435.2 MB, free: 4.539 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000272/0.09943, allocations: 327.8 kB / 435.5 MB, free: 4.168 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.09947, allocations: 8.031 kB / 435.5 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.09951, allocations: 8.844 kB / 435.6 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.09963, allocations: 168.3 kB / 435.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.09965, allocations: 8.359 kB / 435.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.09967, allocations: 4.375 kB / 435.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.0998, allocations: 58.25 kB / 435.8 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.09982, allocations: 8.109 kB / 435.8 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.09983, allocations: 7.938 kB / 435.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.09984, allocations: 0 / 435.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.09995, allocations: 55.89 kB / 435.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.1001, allocations: 169.7 kB / 436 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1002, allocations: 74.56 kB / 436.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.1003, allocations: 36.84 kB / 436.1 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/0.1006, allocations: 251.6 kB / 436.4 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1007, allocations: 38.5 kB / 436.4 MB, free: 3.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1007, allocations: 0 / 436.4 MB, free: 3.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002262/0.1009, allocations: 109.5 kB / 436.5 MB, free: 3.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1009, allocations: 55.41 kB / 436.6 MB, free: 2.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.101, allocations: 97.86 kB / 436.7 MB, free: 2.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.101, allocations: 25.7 kB / 436.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.1011, allocations: 80.14 kB / 436.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.1011, allocations: 35.53 kB / 436.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.1012, allocations: 17.72 kB / 436.8 MB, free: 2.664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1013, allocations: 310.8 kB / 437.1 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.1013, allocations: 19.98 kB / 437.2 MB, free: 2.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.1014, allocations: 19.98 kB / 437.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.995e-05/0.1015, allocations: 53.42 kB / 437.2 MB, free: 2.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1015, allocations: 4 kB / 437.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001459/0.1016, allocations: 89.53 kB / 437.3 MB, free: 2.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1016, allocations: 7.938 kB / 437.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1017, allocations: 3.938 kB / 437.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1017, allocations: 3.984 kB / 437.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.1018, allocations: 16 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1018, allocations: 0 / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.1018, allocations: 7.938 kB / 437.4 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1018, allocations: 4 kB / 437.4 MB, free: 2.117 MB / 366.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 (10): * Single equations (assignments): 10 * 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 8.696e-05/0.1019, allocations: 113.8 kB / 437.5 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.102, allocations: 4 kB / 437.5 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.1022, allocations: 105.4 kB / 437.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1022, allocations: 4 kB / 437.6 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1022, allocations: 0 / 437.6 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1022, allocations: 0 / 437.6 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.1023, allocations: 165.7 kB / 437.7 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1023, allocations: 3.984 kB / 437.7 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.1024, allocations: 19.94 kB / 437.8 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1024, allocations: 4 kB / 437.8 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1024, allocations: 3.938 kB / 437.8 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1024, allocations: 8 kB / 437.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1024, allocations: 0 / 437.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1026, allocations: 109.2 kB / 437.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1026, allocations: 89.05 kB / 438 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1026, allocations: 7.875 kB / 438 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.1027, allocations: 0 / 438 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.1027, allocations: 11.98 kB / 438 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1027, allocations: 8 kB / 438 MB, free: 1.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.1027, allocations: 75.28 kB / 438.1 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1027, allocations: 0 / 438.1 MB, free: 1.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.1029, allocations: 16 kB / 438.1 MB, free: 1.285 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001417/0.1031, allocations: 115.2 kB / 438.2 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.1032, allocations: 51.92 kB / 438.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1032, allocations: 4.094 kB / 438.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.1033, allocations: 35.86 kB / 438.3 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.1034, allocations: 11.59 kB / 438.3 MB, free: 1.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.1038, allocations: 146.7 kB / 438.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.104, allocations: 0.6809 MB / 439.1 MB, free: 192 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.393e-05/0.1041, allocations: 8 kB / 439.1 MB, free: 184 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1041, allocations: 11.44 kB / 439.1 MB, free: 172 kB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1041, allocations: 0 / 439.1 MB, free: 172 kB / 366.1 MB Notification: Performance of Templates: time 0.002488/0.1066, allocations: 0.6154 MB / 439.8 MB, free: 15.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) Environment - environmentSimulation: