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.001602/0.001602, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002267/0.002267, allocations: 191.5 kB / 16.14 MB, free: 6.703 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.578/1.578, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4285/0.4285, allocations: 54.93 MB / 324.3 MB, free: 108 kB / 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.001738/0.001738, allocations: 71.84 kB / 394.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.161, allocations: 59.59 MB / 454.3 MB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.ModelTime): time 0.249/0.4101, allocations: 0.6489 MB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 4.285e-05/0.4102, allocations: 5.812 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.4102, allocations: 0.6875 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.4103, allocations: 1.25 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.4103, allocations: 0.7812 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.384e-05/0.4104, allocations: 0 / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.01e-05/0.4104, allocations: 2.281 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.4105, allocations: 2.812 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.4105, allocations: 4.031 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.4105, allocations: 2.828 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.4105, allocations: 0 / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-06/0.4105, allocations: 2.156 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.4106, allocations: 0 / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.4106, allocations: 3.469 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.081e-05/0.4106, allocations: 2.078 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4107, allocations: 4.281 kB / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.4107, allocations: 0 / 454.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.4107, allocations: 0.6875 kB / 454.9 MB, free: 39.17 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.000217/0.4109, allocations: 310.5 kB / 455.2 MB, free: 38.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4109, allocations: 9.906 kB / 455.2 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.411, allocations: 0.9375 kB / 455.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.748e-05/0.411, allocations: 163.2 kB / 455.4 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.411, allocations: 0.9688 kB / 455.4 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.4111, allocations: 1.312 kB / 455.4 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.81e-05/0.4111, allocations: 33.55 kB / 455.4 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4112, allocations: 2.031 kB / 455.4 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.4112, allocations: 5.156 kB / 455.5 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4112, allocations: 0 / 455.5 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.732e-05/0.4112, allocations: 3.562 kB / 455.5 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.4113, allocations: 146.5 kB / 455.6 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.231e-05/0.4114, allocations: 20.09 kB / 455.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.4114, allocations: 9.297 kB / 455.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.4114, allocations: 5.297 kB / 455.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.4114, allocations: 33.12 kB / 455.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.4114, allocations: 0 / 455.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.4115, allocations: 44.09 kB / 455.7 MB, free: 38.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.4116, allocations: 54.86 kB / 455.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.279e-05/0.4116, allocations: 92.17 kB / 455.9 MB, free: 38.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.4116, allocations: 25.7 kB / 455.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.305e-05/0.4116, allocations: 80.14 kB / 456 MB, free: 38.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.4117, allocations: 0 / 456 MB, free: 38.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.4117, allocations: 21.03 kB / 456 MB, free: 38.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.4117, allocations: 310.8 kB / 456.3 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.4118, allocations: 1.312 kB / 456.3 MB, free: 37.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-06/0.4118, allocations: 3.844 kB / 456.3 MB, free: 37.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.001e-05/0.4118, allocations: 7.766 kB / 456.3 MB, free: 37.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4118, allocations: 5.328 kB / 456.3 MB, free: 37.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.894e-05/0.4119, allocations: 32.86 kB / 456.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.4119, allocations: 6.344 kB / 456.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4119, allocations: 2.031 kB / 456.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4119, allocations: 6.578 kB / 456.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.412, allocations: 0 / 456.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.412, allocations: 4.031 kB / 456.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.043e-05/0.412, allocations: 2.25 kB / 456.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.412, allocations: 0 / 456.3 MB, free: 37.66 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.621e-05/0.412, allocations: 109 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.4121, allocations: 2.438 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.4121, allocations: 11.19 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4121, allocations: 3.656 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4121, allocations: 0 / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4121, allocations: 1.094 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.663e-05/0.4122, allocations: 149 kB / 456.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4122, allocations: 0.625 kB / 456.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-06/0.4122, allocations: 6.359 kB / 456.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.4122, allocations: 0.6562 kB / 456.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.4122, allocations: 6.531 kB / 456.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4122, allocations: 0.5 kB / 456.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4122, allocations: 1.625 kB / 456.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.342e-05/0.4123, allocations: 60.19 kB / 456.7 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.4123, allocations: 79.59 kB / 456.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.4124, allocations: 4.438 kB / 456.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-06/0.4124, allocations: 3.281 kB / 456.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.4124, allocations: 1.625 kB / 456.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.4124, allocations: 2.594 kB / 456.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.504e-05/0.4124, allocations: 78.72 kB / 456.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4124, allocations: 0 / 456.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.4127, allocations: 0 / 456.9 MB, free: 37.11 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 6.391e-05/0.4127, allocations: 98.16 kB / 457 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.51e-05/0.4128, allocations: 7.969 kB / 457 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4128, allocations: 3.875 kB / 457 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-06/0.4128, allocations: 0.5938 kB / 457 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.0001371/0.4129, allocations: 1.984 kB / 457 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.4131, allocations: 82.8 kB / 457.1 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.4132, allocations: 0.6786 MB / 457.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.209e-05/0.4132, allocations: 0.7031 kB / 457.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.4133, allocations: 8.438 kB / 457.7 MB, free: 36.23 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4133, allocations: 0 / 457.7 MB, free: 36.23 MB / 382.1 MB Notification: Performance of Templates: time 0.001762/0.415, allocations: 164.8 kB / 457.9 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)