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.006714/0.006714, allocations: 100.7 kB / 15.73 MB, free: 6.473 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.001434/0.001434, allocations: 194.3 kB / 16.67 MB, free: 6.379 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.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4022/0.4022, allocations: 54.94 MB / 324.9 MB, free: 15.87 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.001475/0.001475, allocations: 70.48 kB / 456.2 MB, free: 38.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1507, allocations: 59.59 MB / 0.5037 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.ModelTime): time 0.001696/0.1524, allocations: 0.5888 MB / 0.5043 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 4.517e-05/0.1525, allocations: 0 / 0.5043 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.1525, allocations: 1.875 kB / 0.5043 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.1526, allocations: 3.938 kB / 0.5043 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.053e-06/0.1526, allocations: 3.938 kB / 0.5043 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.68e-05/0.1526, allocations: 4 kB / 0.5043 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.506e-05/0.1527, allocations: 6.344 kB / 0.5043 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.1527, allocations: 0 / 0.5043 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.342e-05/0.1528, allocations: 0 / 0.5043 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.993e-05/0.1528, allocations: 6.203 kB / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1528, allocations: 0 / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-06/0.1528, allocations: 0 / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1528, allocations: 0 / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.1528, allocations: 0 / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.688e-05/0.1529, allocations: 2.094 kB / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1529, allocations: 0 / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1529, allocations: 0 / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1529, allocations: 0 / 0.5043 GB, free: 9.23 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.0002275/0.1532, allocations: 320.8 kB / 0.5046 GB, free: 8.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.1532, allocations: 8.625 kB / 0.5046 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.1533, allocations: 0.9375 kB / 0.5046 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.98e-05/0.1533, allocations: 160.4 kB / 0.5048 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1533, allocations: 384 / 0.5048 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.1534, allocations: 384 / 0.5048 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.126e-05/0.1534, allocations: 36.12 kB / 0.5048 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1535, allocations: 8.109 kB / 0.5048 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1535, allocations: 7.938 kB / 0.5048 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1535, allocations: 1.25 kB / 0.5048 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.1535, allocations: 0.9062 kB / 0.5048 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.545e-05/0.1536, allocations: 151.3 kB / 0.5049 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.334e-05/0.1536, allocations: 16.23 kB / 0.505 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.1537, allocations: 8.047 kB / 0.505 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.1537, allocations: 0 / 0.505 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.1537, allocations: 34.56 kB / 0.505 GB, free: 8.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1537, allocations: 5.562 kB / 0.505 GB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.1538, allocations: 40.97 kB / 0.505 GB, free: 8.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.1539, allocations: 53.03 kB / 0.5051 GB, free: 8.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.958e-05/0.1539, allocations: 89.86 kB / 0.5052 GB, free: 8.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.1539, allocations: 29.64 kB / 0.5052 GB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.095e-05/0.1539, allocations: 80.14 kB / 0.5053 GB, free: 8.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1539, allocations: 1.719 kB / 0.5053 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.154, allocations: 15.81 kB / 0.5053 GB, free: 8.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.154, allocations: 310.8 kB / 0.5056 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.154, allocations: 5 kB / 0.5056 GB, free: 7.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.154, allocations: 2.344 kB / 0.5056 GB, free: 7.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.193e-05/0.1541, allocations: 11.2 kB / 0.5056 GB, free: 7.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1541, allocations: 3.984 kB / 0.5056 GB, free: 7.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.134e-05/0.1541, allocations: 29.52 kB / 0.5057 GB, free: 7.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1541, allocations: 10.12 kB / 0.5057 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1542, allocations: 0 / 0.5057 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1542, allocations: 3.938 kB / 0.5057 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/0.1542, allocations: 2.531 kB / 0.5057 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1542, allocations: 0 / 0.5057 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.056e-05/0.1543, allocations: 0 / 0.5057 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1543, allocations: 3.562 kB / 0.5057 GB, free: 7.637 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 4.065e-05/0.1543, allocations: 109.8 kB / 0.5058 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.1543, allocations: 3.906 kB / 0.5058 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.1543, allocations: 15.05 kB / 0.5058 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.1543, allocations: 0 / 0.5058 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1544, allocations: 3.312 kB / 0.5058 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1544, allocations: 0 / 0.5058 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.389e-05/0.1544, allocations: 145.6 kB / 0.5059 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1544, allocations: 0 / 0.5059 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-06/0.1544, allocations: 4.875 kB / 0.5059 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.1544, allocations: 0 / 0.5059 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1544, allocations: 5.312 kB / 0.5059 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1544, allocations: 3.984 kB / 0.5059 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1545, allocations: 0 / 0.5059 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.819e-05/0.1545, allocations: 58.64 kB / 0.506 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.1545, allocations: 78.48 kB / 0.5061 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.1545, allocations: 3.938 kB / 0.5061 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.1546, allocations: 1.375 kB / 0.5061 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.1546, allocations: 0 / 0.5061 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1546, allocations: 5.359 kB / 0.5061 GB, free: 7.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.333e-05/0.1546, allocations: 75.28 kB / 0.5062 GB, free: 7.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1546, allocations: 4.031 kB / 0.5062 GB, free: 7.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.1548, allocations: 1.375 kB / 0.5062 GB, free: 7.047 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): 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 7.327e-05/0.1549, allocations: 95.56 kB / 0.5063 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.356e-05/0.155, allocations: 6.688 kB / 0.5063 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.155, allocations: 1.375 kB / 0.5063 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.155, allocations: 9.312 kB / 0.5063 GB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1551, allocations: 1.375 kB / 0.5063 GB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001707/0.1553, allocations: 83.94 kB / 0.5064 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.1554, allocations: 0.6742 MB / 0.507 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.217e-05/0.1554, allocations: 0 / 0.507 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.1554, allocations: 7.438 kB / 0.507 GB, free: 6.133 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1554, allocations: 0 / 0.507 GB, free: 6.133 MB / 382.1 MB Notification: Performance of Templates: time 0.001923/0.1574, allocations: 169.9 kB / 0.5072 GB, free: 6.039 MB / 382.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)