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.001152/0.001152, 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.001254/0.001254, allocations: 194.6 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.605/1.605, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4447/0.4447, allocations: 54.95 MB / 324.7 MB, free: 15.94 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.001479/0.001479, allocations: 71.91 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1538, allocations: 59.6 MB / 454.9 MB, free: 168 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.ModelTime): time 0.2835/0.4373, allocations: 0.5817 MB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 6.09e-05/0.4375, allocations: 6.312 kB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.4375, allocations: 0 / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.4376, allocations: 0 / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.625e-06/0.4376, allocations: 1.531 kB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.316e-05/0.4377, allocations: 0 / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.4378, allocations: 3.562 kB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.407e-05/0.4379, allocations: 7.562 kB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.4379, allocations: 3.984 kB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.005e-05/0.438, allocations: 0 / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.438, allocations: 6.75 kB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-06/0.438, allocations: 0 / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.438, allocations: 1.5 kB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.4381, allocations: 2.078 kB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.385e-05/0.4382, allocations: 0.9375 kB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4382, allocations: 0 / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4382, allocations: 1.719 kB / 455.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.4382, allocations: 0 / 455.5 MB, free: 39.16 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.0003052/0.4385, allocations: 311 kB / 455.8 MB, free: 38.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4386, allocations: 8.719 kB / 455.8 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.4386, allocations: 2.688 kB / 455.9 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.52e-05/0.4387, allocations: 160.4 kB / 456 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.4387, allocations: 5.469 kB / 456 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.4387, allocations: 384 / 456 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.4389, allocations: 30.83 kB / 456 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4389, allocations: 2.797 kB / 456 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4389, allocations: 8.25 kB / 456.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4389, allocations: 0 / 456.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.4389, allocations: 4.203 kB / 456.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.4391, allocations: 146.6 kB / 456.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.289e-05/0.4391, allocations: 21.67 kB / 456.2 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.4392, allocations: 10.14 kB / 456.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.4392, allocations: 1.5 kB / 456.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.4392, allocations: 31.53 kB / 456.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.4392, allocations: 0 / 456.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.4394, allocations: 45.58 kB / 456.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.4394, allocations: 56.69 kB / 456.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.502e-05/0.4394, allocations: 89.86 kB / 456.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.4395, allocations: 29.2 kB / 456.5 MB, free: 38.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.807e-05/0.4395, allocations: 80.14 kB / 456.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.4395, allocations: 0 / 456.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.4395, allocations: 13.25 kB / 456.6 MB, free: 38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.4396, allocations: 311.9 kB / 456.9 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.4396, allocations: 0 / 456.9 MB, free: 37.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.4397, allocations: 7.5 kB / 456.9 MB, free: 37.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.4397, allocations: 11.52 kB / 456.9 MB, free: 37.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4397, allocations: 0 / 456.9 MB, free: 37.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.204e-05/0.4398, allocations: 33.42 kB / 456.9 MB, free: 37.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4398, allocations: 4.406 kB / 456.9 MB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4398, allocations: 2.062 kB / 456.9 MB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4398, allocations: 7.719 kB / 456.9 MB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.4399, allocations: 0.5 kB / 456.9 MB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4399, allocations: 0.6875 kB / 456.9 MB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.109e-05/0.4399, allocations: 3.312 kB / 456.9 MB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.4399, allocations: 7.406 kB / 457 MB, free: 37.65 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 5.733e-05/0.44, allocations: 109.1 kB / 457.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-06/0.44, allocations: 0 / 457.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.44, allocations: 9.688 kB / 457.1 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4401, allocations: 3.656 kB / 457.1 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4401, allocations: 2.625 kB / 457.1 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4401, allocations: 0.75 kB / 457.1 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.786e-05/0.4401, allocations: 145.7 kB / 457.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4401, allocations: 3.219 kB / 457.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-06/0.4402, allocations: 3.469 kB / 457.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4402, allocations: 2.344 kB / 457.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.4402, allocations: 3.938 kB / 457.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.4402, allocations: 0.5625 kB / 457.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4402, allocations: 3.594 kB / 457.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.994e-05/0.4402, allocations: 60.27 kB / 457.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.4403, allocations: 77.11 kB / 457.4 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.4403, allocations: 7.594 kB / 457.4 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-06/0.4403, allocations: 0.9375 kB / 457.4 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.4403, allocations: 0 / 457.4 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.4403, allocations: 3.281 kB / 457.4 MB, free: 37.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.601e-05/0.4403, allocations: 79.28 kB / 457.5 MB, free: 37.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.4404, allocations: 0.625 kB / 457.5 MB, free: 37.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.4406, allocations: 2.531 kB / 457.5 MB, free: 37.1 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.508e-05/0.4407, allocations: 98.72 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.038e-05/0.4407, allocations: 2.094 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4408, allocations: 2.688 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-06/0.4408, allocations: 0 / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.4409, allocations: 11.05 kB / 457.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.4411, allocations: 81.72 kB / 457.7 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.4412, allocations: 0.6748 MB / 458.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.155e-05/0.4412, allocations: 0 / 458.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.4413, allocations: 8.031 kB / 458.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4413, allocations: 3.562 kB / 458.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of Templates: time 0.00186/0.4431, allocations: 161.8 kB / 458.5 MB, free: 36.23 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)