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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 191.6 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 207.6 MB / 232.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.301/0.301, allocations: 55.68 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime") translateModel(Annex60.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime") [Timeout 660] "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.002206/0.002206, allocations: 75.89 kB / 482 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4224, allocations: 62.86 MB / 0.5321 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.ModelTime): time 0.001698/0.4241, allocations: 0.6177 MB / 0.5327 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 4.236e-05/0.4242, allocations: 5.203 kB / 0.5327 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.4242, allocations: 0 / 0.5327 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.4242, allocations: 3.938 kB / 0.5327 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.642e-06/0.4242, allocations: 1.062 kB / 0.5327 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.982e-05/0.4243, allocations: 0.7969 kB / 0.5327 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.516e-05/0.4243, allocations: 5.125 kB / 0.5327 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.4244, allocations: 9.859 kB / 0.5327 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.4244, allocations: 1.094 kB / 0.5327 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.074e-05/0.4244, allocations: 4.656 kB / 0.5327 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.4244, allocations: 0 / 0.5327 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.796e-06/0.4244, allocations: 1.062 kB / 0.5327 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.4244, allocations: 0 / 0.5327 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.4245, allocations: 1.156 kB / 0.5327 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 5.059e-05/0.4245, allocations: 0.5625 kB / 0.5327 GB, free: 7.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4245, allocations: 0 / 0.5327 GB, free: 7.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4245, allocations: 1.125 kB / 0.5327 GB, free: 7.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.4245, allocations: 0 / 0.5327 GB, free: 7.535 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.0001971/0.4247, allocations: 239.8 kB / 0.533 GB, free: 7.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4248, allocations: 8.688 kB / 0.533 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.4248, allocations: 6.797 kB / 0.533 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.804e-05/0.4248, allocations: 104.2 kB / 0.5331 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4249, allocations: 1.438 kB / 0.5331 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.4249, allocations: 384 / 0.5331 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.716e-05/0.425, allocations: 33.08 kB / 0.5331 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.425, allocations: 192 / 0.5331 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.425, allocations: 3.938 kB / 0.5331 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.425, allocations: 1.812 kB / 0.5331 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.589e-05/0.425, allocations: 9.031 kB / 0.5331 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.106e-05/0.4251, allocations: 119.2 kB / 0.5333 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.625e-05/0.4251, allocations: 17.66 kB / 0.5333 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.4251, allocations: 7.078 kB / 0.5333 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.4251, allocations: 0 / 0.5333 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.4252, allocations: 32.27 kB / 0.5333 GB, free: 6.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.4252, allocations: 4 kB / 0.5333 GB, free: 6.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001144/0.4253, allocations: 48.28 kB / 0.5334 GB, free: 6.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.4253, allocations: 51.41 kB / 0.5334 GB, free: 6.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.588e-05/0.4253, allocations: 91.67 kB / 0.5335 GB, free: 6.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.4253, allocations: 29.64 kB / 0.5335 GB, free: 6.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.407e-06/0.4253, allocations: 80.14 kB / 0.5336 GB, free: 6.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.4254, allocations: 1.125 kB / 0.5336 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.4254, allocations: 12.7 kB / 0.5336 GB, free: 6.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.4254, allocations: 315.6 kB / 0.5339 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.4254, allocations: 1.094 kB / 0.5339 GB, free: 6.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-06/0.4254, allocations: 1.031 kB / 0.5339 GB, free: 6.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.4255, allocations: 12.77 kB / 0.5339 GB, free: 6.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4255, allocations: 0 / 0.5339 GB, free: 6.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.089e-05/0.4255, allocations: 36.28 kB / 0.534 GB, free: 6.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.4255, allocations: 4.344 kB / 0.534 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4255, allocations: 1.891 kB / 0.534 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4255, allocations: 8.031 kB / 0.534 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.4256, allocations: 7.031 kB / 0.534 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.4256, allocations: 0 / 0.534 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-06/0.4256, allocations: 0 / 0.534 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.4256, allocations: 1.406 kB / 0.534 GB, free: 6.156 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 3.68e-05/0.4256, allocations: 112.3 kB / 0.5341 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-06/0.4256, allocations: 0 / 0.5341 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.354e-05/0.4257, allocations: 12.89 kB / 0.5341 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.4257, allocations: 0 / 0.5341 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4257, allocations: 4 kB / 0.5341 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4257, allocations: 5.594 kB / 0.5341 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.119e-05/0.4257, allocations: 118.7 kB / 0.5342 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.4257, allocations: 1.344 kB / 0.5342 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-06/0.4257, allocations: 1.688 kB / 0.5342 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4257, allocations: 1.219 kB / 0.5342 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.4257, allocations: 3.938 kB / 0.5342 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4257, allocations: 0.5625 kB / 0.5342 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4257, allocations: 1.125 kB / 0.5342 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.582e-05/0.4258, allocations: 68.8 kB / 0.5343 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-06/0.4258, allocations: 1.938 kB / 0.5343 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.4258, allocations: 3.938 kB / 0.5343 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.4258, allocations: 1.594 kB / 0.5343 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.4258, allocations: 0.8438 kB / 0.5343 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.4258, allocations: 0 / 0.5343 GB, free: 5.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 1.114e-05/0.4258, allocations: 77.03 kB / 0.5344 GB, free: 5.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4258, allocations: 0 / 0.5344 GB, free: 5.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000208/0.426, allocations: 5.094 kB / 0.5344 GB, free: 5.699 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 5.495e-05/0.4261, allocations: 91.53 kB / 0.5345 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.4261, allocations: 7.891 kB / 0.5345 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4261, allocations: 0 / 0.5345 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.4262, allocations: 10.91 kB / 0.5345 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.4263, allocations: 1.188 kB / 0.5345 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001497/0.4264, allocations: 81.03 kB / 0.5346 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.6e-05/0.4265, allocations: 0.675 MB / 0.5352 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.095e-05/0.4265, allocations: 0 / 0.5352 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.4266, allocations: 8.656 kB / 0.5352 GB, free: 4.793 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4266, allocations: 0 / 0.5352 GB, free: 4.793 MB / 398.1 MB Notification: Performance of Templates: time 0.002085/0.4286, allocations: 175.6 kB / 0.5354 GB, free: 4.738 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.360457910224795] Failed to read output from testmodel.py, exit status != 0: 0.43629744183272123 0.448783146 0.021320591 Calling exit ...