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.001388/0.001388, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.00181/0.001811, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4332/0.4332, allocations: 55.01 MB / 325.4 MB, free: 0.6914 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: 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.0005619/0.0005619, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4197, allocations: 60.73 MB / 457.4 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.ModelTime): time 0.0006552/0.4204, allocations: 324.7 kB / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 3.991e-05/0.4204, allocations: 2.188 kB / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.097e-05/0.4204, allocations: 3.438 kB / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.4204, allocations: 0 / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.4205, allocations: 0 / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.421e-05/0.4205, allocations: 0 / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.639e-05/0.4205, allocations: 5.062 kB / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.4206, allocations: 6.203 kB / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.033e-05/0.4206, allocations: 3.797 kB / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.739e-05/0.4206, allocations: 1.719 kB / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.4207, allocations: 3.938 kB / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.915e-06/0.4207, allocations: 0.5625 kB / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.126e-06/0.4207, allocations: 0 / 457.7 MB, free: 39.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.4207, allocations: 26.61 kB / 457.7 MB, free: 39.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.385e-05/0.4207, allocations: 2.875 kB / 457.7 MB, free: 39.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4208, allocations: 0.9062 kB / 457.7 MB, free: 39.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4208, allocations: 0 / 457.7 MB, free: 39.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.4208, allocations: 3.172 kB / 457.7 MB, free: 39.28 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.0001837/0.421, allocations: 308.7 kB / 458 MB, free: 38.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.421, allocations: 10.5 kB / 458.1 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.421, allocations: 0 / 458.1 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.821e-05/0.4211, allocations: 165.5 kB / 458.2 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.4211, allocations: 1.312 kB / 458.2 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.4211, allocations: 0 / 458.2 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.005e-05/0.4212, allocations: 32.61 kB / 458.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4212, allocations: 0 / 458.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4212, allocations: 0.9844 kB / 458.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4212, allocations: 4 kB / 458.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.4213, allocations: 3.938 kB / 458.3 MB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.612e-05/0.4214, allocations: 147.9 kB / 458.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.091e-05/0.4214, allocations: 18.42 kB / 458.4 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.4214, allocations: 10.98 kB / 458.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.4214, allocations: 1.719 kB / 458.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.4215, allocations: 31.88 kB / 458.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.4215, allocations: 0 / 458.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001173/0.4216, allocations: 42.62 kB / 458.5 MB, free: 38.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.4216, allocations: 52.22 kB / 458.6 MB, free: 38.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.671e-05/0.4216, allocations: 89.86 kB / 458.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.4217, allocations: 26.45 kB / 458.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-06/0.4217, allocations: 83.45 kB / 458.8 MB, free: 38.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.4217, allocations: 1 kB / 458.8 MB, free: 38.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-06/0.4217, allocations: 0 / 458.8 MB, free: 38.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.4218, allocations: 317.2 kB / 459.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-06/0.4218, allocations: 4.438 kB / 459.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-06/0.4218, allocations: 0 / 459.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.554e-05/0.4218, allocations: 0 / 459.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4218, allocations: 8.766 kB / 459.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.363e-05/0.4219, allocations: 37.84 kB / 459.1 MB, free: 37.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.4219, allocations: 8.25 kB / 459.1 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4219, allocations: 0 / 459.1 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.4219, allocations: 0 / 459.1 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.422, allocations: 2.875 kB / 459.1 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.422, allocations: 1.469 kB / 459.1 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.119e-05/0.422, allocations: 1.25 kB / 459.1 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.422, allocations: 0 / 459.1 MB, free: 37.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.422, allocations: 121.4 kB / 459.2 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.4221, allocations: 1.719 kB / 459.3 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.138e-05/0.4221, allocations: 6.359 kB / 459.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.4221, allocations: 0 / 459.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4221, allocations: 0 / 459.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.4221, allocations: 0 / 459.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.732e-05/0.4221, allocations: 152.4 kB / 459.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4221, allocations: 0 / 459.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-06/0.4222, allocations: 0 / 459.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4222, allocations: 3.312 kB / 459.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.4222, allocations: 4.969 kB / 459.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4222, allocations: 1.406 kB / 459.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4222, allocations: 0 / 459.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.88e-05/0.4222, allocations: 65.66 kB / 459.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.4223, allocations: 77.67 kB / 459.6 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.4223, allocations: 2.469 kB / 459.6 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.4223, allocations: 2.781 kB / 459.6 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.4223, allocations: 0.5625 kB / 459.6 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/0.4223, allocations: 0 / 459.6 MB, free: 37.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.161e-05/0.4223, allocations: 76.28 kB / 459.6 MB, free: 37.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4223, allocations: 0 / 459.6 MB, free: 37.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.4226, allocations: 0.625 kB / 459.6 MB, free: 37.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.999e-05/0.4227, allocations: 99.44 kB / 459.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.93e-05/0.4227, allocations: 6.812 kB / 459.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4227, allocations: 1.031 kB / 459.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.4227, allocations: 6.594 kB / 459.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.4229, allocations: 5.672 kB / 459.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001418/0.423, allocations: 84.39 kB / 459.8 MB, free: 37.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.128e-05/0.4231, allocations: 0.6722 MB / 460.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.13e-05/0.4231, allocations: 2.625 kB / 460.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.4232, allocations: 10.88 kB / 460.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4232, allocations: 0 / 460.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of Templates: time 0.00178/0.4249, allocations: 156.4 kB / 460.7 MB, free: 36.34 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: