Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime") translateModel(Annex60.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005505/0.005505, allocations: 103.4 kB / 15.74 MB, free: 6.008 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.001862/0.001862, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.593/1.593, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2652/0.2652, allocations: 54.96 MB / 324.9 MB, free: 4.84 MB / 270.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: Annex60 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.001503/0.001503, allocations: 71.89 kB / 456.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1974, allocations: 59.59 MB / 0.5037 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.ModelTime): time 0.003622/0.2011, allocations: 0.6001 MB / 0.5043 GB, free: 6.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 5.754e-05/0.2012, allocations: 0 / 0.5043 GB, free: 6.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.2012, allocations: 0 / 0.5043 GB, free: 6.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.065e-05/0.2013, allocations: 4 kB / 0.5043 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.018e-05/0.2014, allocations: 0 / 0.5043 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.377e-05/0.2014, allocations: 0 / 0.5043 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.017e-05/0.2015, allocations: 4 kB / 0.5043 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.2016, allocations: 3.984 kB / 0.5043 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.2017, allocations: 3.984 kB / 0.5043 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.14e-05/0.2017, allocations: 8 kB / 0.5043 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.2018, allocations: 0 / 0.5043 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-06/0.2018, allocations: 0 / 0.5043 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.2018, allocations: 0 / 0.5043 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.2018, allocations: 3.938 kB / 0.5043 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.587e-05/0.2019, allocations: 0 / 0.5043 GB, free: 6.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.202, allocations: 0 / 0.5043 GB, free: 6.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.202, allocations: 0 / 0.5043 GB, free: 6.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.202, allocations: 0 / 0.5043 GB, free: 6.5 MB / 398.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.0004675/0.2025, allocations: 311.6 kB / 0.5046 GB, free: 6.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.2025, allocations: 12.03 kB / 0.5046 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.2026, allocations: 8.922 kB / 0.5046 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.2028, allocations: 168.3 kB / 0.5048 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2028, allocations: 384 / 0.5048 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.2029, allocations: 384 / 0.5048 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.203, allocations: 26.27 kB / 0.5048 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2031, allocations: 192 / 0.5048 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.2031, allocations: 3.938 kB / 0.5048 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2031, allocations: 4 kB / 0.5048 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/0.2032, allocations: 3.938 kB / 0.5048 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.2034, allocations: 153.7 kB / 0.5049 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.2035, allocations: 18.61 kB / 0.505 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.2036, allocations: 4.859 kB / 0.505 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.2036, allocations: 0 / 0.505 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.2037, allocations: 34.62 kB / 0.505 GB, free: 5.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.2037, allocations: 0 / 0.505 GB, free: 5.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002362/0.204, allocations: 45.58 kB / 0.505 GB, free: 5.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.204, allocations: 51.41 kB / 0.5051 GB, free: 5.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.002e-05/0.2041, allocations: 89.86 kB / 0.5052 GB, free: 5.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2041, allocations: 25.7 kB / 0.5052 GB, free: 5.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.2042, allocations: 80.14 kB / 0.5053 GB, free: 5.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.2043, allocations: 3.906 kB / 0.5053 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.2043, allocations: 17.7 kB / 0.5053 GB, free: 5.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.2046, allocations: 311 kB / 0.5056 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.2046, allocations: 4 kB / 0.5056 GB, free: 4.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.2046, allocations: 4 kB / 0.5056 GB, free: 4.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.2047, allocations: 8.859 kB / 0.5056 GB, free: 4.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2047, allocations: 0 / 0.5056 GB, free: 4.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.518e-05/0.2048, allocations: 37.64 kB / 0.5057 GB, free: 4.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.2049, allocations: 4 kB / 0.5057 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2049, allocations: 0 / 0.5057 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.2049, allocations: 3.938 kB / 0.5057 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.205, allocations: 8.078 kB / 0.5057 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.205, allocations: 4 kB / 0.5057 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.2051, allocations: 3.938 kB / 0.5057 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.2051, allocations: 0 / 0.5057 GB, free: 4.852 MB / 398.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 0.0001219/0.2052, allocations: 105.8 kB / 0.5058 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.2053, allocations: 0 / 0.5058 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.2053, allocations: 15 kB / 0.5058 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2053, allocations: 4 kB / 0.5058 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2053, allocations: 0 / 0.5058 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2054, allocations: 4 kB / 0.5058 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.2055, allocations: 145.7 kB / 0.5059 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2056, allocations: 3.984 kB / 0.5059 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.2056, allocations: 7.938 kB / 0.5059 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.2056, allocations: 4 kB / 0.506 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2057, allocations: 3.938 kB / 0.506 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2057, allocations: 0 / 0.506 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2057, allocations: 0 / 0.506 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.2058, allocations: 61.08 kB / 0.506 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.2059, allocations: 85.09 kB / 0.5061 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.206, allocations: 3.938 kB / 0.5061 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.232e-05/0.206, allocations: 0 / 0.5061 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.206, allocations: 0 / 0.5061 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2061, allocations: 0 / 0.5061 GB, free: 4.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.2061, allocations: 75.28 kB / 0.5062 GB, free: 4.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2061, allocations: 0 / 0.5062 GB, free: 4.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.2064, allocations: 4 kB / 0.5062 GB, free: 4.242 MB / 398.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): 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 Backend phase and start with SimCode phase: time 0.0001546/0.2066, allocations: 95.28 kB / 0.5063 GB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.2068, allocations: 4 kB / 0.5063 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2068, allocations: 0 / 0.5063 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.2068, allocations: 3.938 kB / 0.5063 GB, free: 4.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.2071, allocations: 15.03 kB / 0.5063 GB, free: 4.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.2075, allocations: 80.94 kB / 0.5064 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.2079, allocations: 0.669 MB / 0.507 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.105e-05/0.208, allocations: 4.125 kB / 0.507 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.208, allocations: 11.44 kB / 0.507 GB, free: 3.305 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.208, allocations: 0 / 0.507 GB, free: 3.305 MB / 398.1 MB Notification: Performance of Templates: time 0.00349/0.2115, allocations: 157.2 kB / 0.5072 GB, free: 3.152 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe 2>&1)