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.001947/0.001947, allocations: 77.62 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002273/0.002273, allocations: 167.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.549/1.549, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.277/1.277, allocations: 154.5 MB / 413.7 MB, free: 5.293 MB / 382.1 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 178] 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 2.575e-06/2.575e-06, allocations: 0 / 0.6185 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.304e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002314/0.002347, allocations: 0.6043 MB / 0.6191 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.984e-05/0.002397, allocations: 5.781 kB / 0.6191 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.002415, allocations: 0 / 0.6191 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.002438, allocations: 0 / 0.6191 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.002444, allocations: 0 / 0.6191 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.719e-05/0.002482, allocations: 0 / 0.6191 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.002545, allocations: 11.36 kB / 0.6191 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.002594, allocations: 4 kB / 0.6191 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.002628, allocations: 0 / 0.6191 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.184e-05/0.00265, allocations: 0 / 0.6191 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.002662, allocations: 0 / 0.6191 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-06/0.002666, allocations: 0 / 0.6191 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.002677, allocations: 0 / 0.6191 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.002692, allocations: 4 kB / 0.6191 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.575e-05/0.002748, allocations: 8 kB / 0.6191 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00275, allocations: 3.938 kB / 0.6191 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002751, allocations: 1.156 kB / 0.6191 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.002754, allocations: 0 / 0.6191 GB, free: 4.078 MB / 0.5294 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.0003168/0.003071, allocations: 238.4 kB / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.003114, allocations: 10.84 kB / 0.6193 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.003138, allocations: 0.9375 kB / 0.6193 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.899e-05/0.003237, allocations: 105.8 kB / 0.6194 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.00325, allocations: 4.375 kB / 0.6194 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.003262, allocations: 384 / 0.6194 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.73e-05/0.003359, allocations: 34.2 kB / 0.6195 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.003369, allocations: 4.188 kB / 0.6195 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.003376, allocations: 384 / 0.6195 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.00338, allocations: 384 / 0.6195 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.003399, allocations: 3.938 kB / 0.6195 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.00354, allocations: 101.3 kB / 0.6196 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.787e-05/0.003598, allocations: 22.55 kB / 0.6196 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.003627, allocations: 12.89 kB / 0.6196 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.003641, allocations: 7.938 kB / 0.6196 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.003678, allocations: 34.56 kB / 0.6197 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.003679, allocations: 0 / 0.6197 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.003812, allocations: 29.7 kB / 0.6197 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.00386, allocations: 55.41 kB / 0.6197 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.003913, allocations: 89.86 kB / 0.6198 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.003931, allocations: 25.7 kB / 0.6198 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.003976, allocations: 80.14 kB / 0.6199 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.004, allocations: 0 / 0.6199 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.004038, allocations: 13.72 kB / 0.6199 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.004201, allocations: 326.9 kB / 0.6202 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.004212, allocations: 0 / 0.6202 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-06/0.004221, allocations: 3.938 kB / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.004257, allocations: 8.859 kB / 0.6203 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004258, allocations: 0 / 0.6203 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.178e-05/0.00433, allocations: 29.7 kB / 0.6203 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.004348, allocations: 10.19 kB / 0.6203 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004352, allocations: 0 / 0.6203 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.004366, allocations: 0 / 0.6203 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.004416, allocations: 8.031 kB / 0.6203 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.00442, allocations: 0 / 0.6203 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.004445, allocations: 11.92 kB / 0.6203 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.004449, allocations: 4 kB / 0.6203 GB, free: 2.656 MB / 0.5294 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 8.55e-05/0.004534, allocations: 106.8 kB / 0.6204 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.004542, allocations: 0 / 0.6204 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.004564, allocations: 10.89 kB / 0.6204 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.004565, allocations: 0 / 0.6204 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.004573, allocations: 4 kB / 0.6204 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004576, allocations: 0 / 0.6204 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.704e-05/0.004673, allocations: 97.27 kB / 0.6205 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.004674, allocations: 4 kB / 0.6205 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-05/0.004688, allocations: 0 / 0.6205 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.004692, allocations: 7.984 kB / 0.6205 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.004699, allocations: 0 / 0.6205 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.004702, allocations: 4 kB / 0.6205 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.004703, allocations: 0 / 0.6205 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.015e-05/0.004794, allocations: 61.08 kB / 0.6206 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-06/0.004798, allocations: 0 / 0.6206 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.004809, allocations: 0 / 0.6206 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.053e-05/0.00482, allocations: 0 / 0.6206 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.004836, allocations: 8.016 kB / 0.6206 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.00484, allocations: 7.938 kB / 0.6206 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.004882, allocations: 75.28 kB / 0.6207 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.004882, allocations: 3.938 kB / 0.6207 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003074/0.00519, allocations: 0 / 0.6207 GB, free: 2.211 MB / 0.5294 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 0.0001212/0.005311, allocations: 97.7 kB / 0.6208 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.005378, allocations: 4 kB / 0.6208 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.00538, allocations: 0 / 0.6208 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.005396, allocations: 4 kB / 0.6208 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.005599, allocations: 8.125 kB / 0.6208 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.005823, allocations: 76.86 kB / 0.6209 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.515e-05/0.005889, allocations: 55.36 kB / 0.6209 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.176e-05/0.0059, allocations: 0 / 0.6209 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.005922, allocations: 8.5 kB / 0.6209 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.005922, allocations: 0 / 0.6209 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of Templates: time 0.002716/0.008638, allocations: 173 kB / 0.6211 GB, free: 1.738 MB / 0.5294 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: 5.999221298843622] Failed to read output from testmodel.py, exit status != 0: 0.01962227374315262 0.045868714000000005 0.038084012 Calling exit ...