Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007454/0.0007454, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007785/0.0007785, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8883/0.8883, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7298/0.7298, allocations: 154.6 MB / 414.5 MB, free: 0.8594 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6192 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.7e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001274/0.001301, allocations: 0.5913 MB / 0.6198 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.074e-05/0.001342, allocations: 4 kB / 0.6198 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.001359, allocations: 0 / 0.6198 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.001389, allocations: 8 kB / 0.6198 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.001395, allocations: 0 / 0.6198 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.292e-05/0.001428, allocations: 0 / 0.6198 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.347e-05/0.001482, allocations: 0 / 0.6198 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.001527, allocations: 3.984 kB / 0.6198 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.001557, allocations: 0 / 0.6198 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.805e-05/0.001575, allocations: 7.938 kB / 0.6198 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.001593, allocations: 3.984 kB / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.985e-06/0.001596, allocations: 0 / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.001609, allocations: 0 / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.001624, allocations: 0 / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.009e-05/0.001674, allocations: 4 kB / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.001676, allocations: 0 / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.41e-07/0.001677, allocations: 0 / 0.6198 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.001681, allocations: 0 / 0.6198 GB, free: 12.65 MB / 0.5886 GB 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.0002289/0.00191, allocations: 242.4 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.001949, allocations: 13.47 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.001976, allocations: 0.9375 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.916e-05/0.002035, allocations: 101.8 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.002045, allocations: 384 / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.002053, allocations: 4.375 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.814e-05/0.002131, allocations: 34.27 kB / 0.6202 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.002138, allocations: 4.172 kB / 0.6202 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.002146, allocations: 384 / 0.6202 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.00215, allocations: 384 / 0.6202 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.724e-05/0.002167, allocations: 7.875 kB / 0.6202 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.066e-05/0.002258, allocations: 105.3 kB / 0.6203 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.36e-05/0.002292, allocations: 14.58 kB / 0.6203 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.002312, allocations: 12.94 kB / 0.6204 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.002321, allocations: 0 / 0.6204 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.002339, allocations: 30.56 kB / 0.6204 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.00234, allocations: 8 kB / 0.6204 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001091/0.002449, allocations: 37.64 kB / 0.6204 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.002479, allocations: 51.41 kB / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.616e-05/0.002505, allocations: 89.86 kB / 0.6206 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.002514, allocations: 25.7 kB / 0.6206 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.908e-05/0.002533, allocations: 80.14 kB / 0.6207 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.00256, allocations: 0 / 0.6207 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.00258, allocations: 13.72 kB / 0.6207 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.002653, allocations: 318.8 kB / 0.621 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.002668, allocations: 4 kB / 0.621 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.002675, allocations: 8.125 kB / 0.621 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.023e-05/0.002695, allocations: 4.859 kB / 0.621 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.002697, allocations: 0 / 0.621 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.349e-05/0.00273, allocations: 37.64 kB / 0.621 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.002742, allocations: 4 kB / 0.621 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.002747, allocations: 0 / 0.621 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.002758, allocations: 0 / 0.621 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.285e-05/0.002811, allocations: 4 kB / 0.621 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.002816, allocations: 0 / 0.621 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-06/0.002825, allocations: 3.938 kB / 0.621 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.002831, allocations: 12.02 kB / 0.6211 GB, free: 11.23 MB / 0.5886 GB 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.447e-05/0.002886, allocations: 110.8 kB / 0.6212 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-06/0.00289, allocations: 4 kB / 0.6212 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.581e-05/0.002905, allocations: 3 kB / 0.6212 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.002908, allocations: 0 / 0.6212 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.002911, allocations: 0 / 0.6212 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.002914, allocations: 0 / 0.6212 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.25e-05/0.002966, allocations: 97.27 kB / 0.6213 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.002967, allocations: 0 / 0.6213 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-06/0.002973, allocations: 4 kB / 0.6213 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.002976, allocations: 7.984 kB / 0.6213 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.002982, allocations: 0 / 0.6213 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.002982, allocations: 0 / 0.6213 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.002983, allocations: 0 / 0.6213 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.781e-05/0.003031, allocations: 65.02 kB / 0.6213 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-06/0.003035, allocations: 0 / 0.6213 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.003045, allocations: 4 kB / 0.6213 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.018e-06/0.003049, allocations: 7.938 kB / 0.6213 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.003063, allocations: 3.984 kB / 0.6214 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-07/0.003063, allocations: 0 / 0.6214 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.124e-05/0.003085, allocations: 75.28 kB / 0.6214 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.003085, allocations: 4.031 kB / 0.6214 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001088/0.003193, allocations: 0 / 0.6214 GB, free: 10.79 MB / 0.5886 GB 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.743e-05/0.003261, allocations: 95.19 kB / 0.6215 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.601e-05/0.003317, allocations: 4 kB / 0.6215 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.003318, allocations: 3.938 kB / 0.6215 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/0.003322, allocations: 4 kB / 0.6215 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.664e-05/0.003418, allocations: 0 / 0.6215 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.003636, allocations: 114.8 kB / 0.6216 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.003676, allocations: 55.36 kB / 0.6217 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.0037, allocations: 12.5 kB / 0.6217 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of SimCode: time 4.31e-07/0.003701, allocations: 0 / 0.6217 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of Templates: time 0.001399/0.0051, allocations: 331.9 kB / 0.622 GB, free: 10.12 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.983819023706019] Failed to read output from testmodel.py, exit status != 0: 0.01097649522125721 0.018611659000000003 0.015339117000000001 Calling exit ...