Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.001426, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001686/0.001686, allocations: 192.8 kB / 16.14 MB, free: 6.66 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.734/1.734, allocations: 205.1 MB / 222 MB, free: 4.742 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.4197/0.4197, allocations: 39.94 MB / 309.3 MB, free: 9.68 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.002816/0.002816, allocations: 67.91 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1618, allocations: 56.88 MB / 433.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002189/0.1641, allocations: 0.5441 MB / 434.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.167, allocations: 1.384 MB / 435.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.167, allocations: 0 / 435.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.1671, allocations: 0 / 435.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.185e-06/0.1671, allocations: 3.938 kB / 435.7 MB, free: 2.488 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:4:3-219:14:writable] Warning: Pure function ‘ModelicaTest.Utilities.Strings‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.169, allocations: 443 kB / 436.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.934e-05/0.1691, allocations: 0 / 436.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.1691, allocations: 4 kB / 436.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.1691, allocations: 3.984 kB / 436.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.228e-05/0.1692, allocations: 0 / 436.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-06/0.1692, allocations: 4 kB / 436.2 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02679/0.196, allocations: 2.322 MB / 438.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.196, allocations: 0 / 438.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.1961, allocations: 3.984 kB / 438.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.1967, allocations: 159.7 kB / 438.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1967, allocations: 4 kB / 438.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1967, allocations: 0 / 438.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1967, allocations: 0 / 438.7 MB, free: 15.59 MB / 382.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.000462/0.1972, allocations: 377.2 kB / 439 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.1973, allocations: 8.031 kB / 439 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.1973, allocations: 4.938 kB / 439 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1974, allocations: 160.4 kB / 439.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1975, allocations: 4.375 kB / 439.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1975, allocations: 4.312 kB / 439.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1976, allocations: 37.75 kB / 439.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1976, allocations: 4 kB / 439.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1976, allocations: 0 / 439.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1976, allocations: 4 kB / 439.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.1977, allocations: 3.984 kB / 439.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1978, allocations: 145.7 kB / 439.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.558e-05/0.1979, allocations: 22.61 kB / 439.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.1979, allocations: 8.797 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.1979, allocations: 3.984 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.453e-05/0.198, allocations: 64.27 kB / 439.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.198, allocations: 4 kB / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001963/0.1982, allocations: 63.31 kB / 439.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.1983, allocations: 77.11 kB / 439.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.1984, allocations: 93.86 kB / 439.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1984, allocations: 25.7 kB / 439.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.1984, allocations: 84.12 kB / 439.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1984, allocations: 0 / 439.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.1985, allocations: 13.72 kB / 439.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1986, allocations: 315 kB / 440.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.1986, allocations: 0 / 440.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.1987, allocations: 3.938 kB / 440.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.1987, allocations: 64.27 kB / 440.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1987, allocations: 0 / 440.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.667e-05/0.1988, allocations: 63.39 kB / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.1989, allocations: 33.64 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1989, allocations: 4 kB / 440.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1989, allocations: 4.094 kB / 440.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1989, allocations: 0 / 440.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1989, allocations: 0 / 440.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.1989, allocations: 3.938 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1989, allocations: 0 / 440.3 MB, free: 13.64 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.731e-05/0.199, allocations: 139.5 kB / 440.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.1991, allocations: 7.875 kB / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.072e-05/0.1991, allocations: 3.125 kB / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1991, allocations: 0 / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1991, allocations: 4 kB / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1991, allocations: 4 kB / 440.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.1992, allocations: 145.7 kB / 440.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1992, allocations: 0 / 440.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-06/0.1992, allocations: 3.984 kB / 440.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1992, allocations: 3.938 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1993, allocations: 3.938 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1993, allocations: 4 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1993, allocations: 3.984 kB / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1994, allocations: 90.88 kB / 440.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.1994, allocations: 89.03 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1995, allocations: 0 / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.159e-05/0.1995, allocations: 0 / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.1995, allocations: 3.984 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1995, allocations: 0 / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.294e-05/0.1996, allocations: 75.28 kB / 440.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1996, allocations: 7.938 kB / 440.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000361/0.1999, allocations: 68.02 kB / 441 MB, free: 12.89 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: 1 (result) * Number of discrete states: 1 (result) * 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: 1 * 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.0008132/0.2007, allocations: 369.9 kB / 441.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.659e-05/0.2009, allocations: 63.39 kB / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2009, allocations: 0 / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.2009, allocations: 55.41 kB / 441.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.2011, allocations: 0 / 441.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.2013, allocations: 86.69 kB / 441.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.2016, allocations: 0.6692 MB / 442.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.788e-06/0.2016, allocations: 0 / 442.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.2017, allocations: 11.44 kB / 442.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2017, allocations: 8.062 kB / 442.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of Templates: time 0.006683/0.2083, allocations: 2.002 MB / 444.2 MB, free: 9.547 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe 2>&1)