Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.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.0006737/0.0006737, allocations: 76.55 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.0007944/0.0007944, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8889/0.8889, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6873/0.6873, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.554e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001697/0.001722, allocations: 0.6064 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002456/0.001968, allocations: 87.62 kB / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.001982, allocations: 0 / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.001995, allocations: 4 kB / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.212e-05/0.002027, allocations: 0 / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.002207, allocations: 19.09 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.629e-05/0.002253, allocations: 7.984 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.377e-05/0.002287, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.002313, allocations: 4 kB / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.002374, allocations: 7.984 kB / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.002387, allocations: 4 kB / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.002439, allocations: 15.98 kB / 0.6201 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.002451, allocations: 0 / 0.6201 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.165e-05/0.002463, allocations: 0 / 0.6201 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.705e-05/0.00255, allocations: 27.84 kB / 0.6202 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002552, allocations: 0 / 0.6202 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002553, allocations: 0 / 0.6202 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.002556, allocations: 0 / 0.6202 GB, free: 12.31 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002373/0.002793, allocations: 242.5 kB / 0.6204 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.002825, allocations: 8.031 kB / 0.6204 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.002946, allocations: 12.92 kB / 0.6204 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.059e-05/0.003006, allocations: 105.7 kB / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.003022, allocations: 4.375 kB / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.00303, allocations: 384 / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.21e-05/0.003112, allocations: 38.25 kB / 0.6205 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.003117, allocations: 4.125 kB / 0.6206 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.003125, allocations: 4.375 kB / 0.6206 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.003129, allocations: 384 / 0.6206 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.305e-05/0.003182, allocations: 15.86 kB / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.003284, allocations: 109.3 kB / 0.6207 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.003395, allocations: 42.61 kB / 0.6207 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.003428, allocations: 16.91 kB / 0.6207 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.003441, allocations: 0 / 0.6207 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.003472, allocations: 30.56 kB / 0.6208 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.003473, allocations: 0 / 0.6208 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001456/0.003619, allocations: 57.61 kB / 0.6208 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.003645, allocations: 51.41 kB / 0.6209 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.034e-05/0.003675, allocations: 97.86 kB / 0.621 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.003686, allocations: 25.7 kB / 0.621 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.003712, allocations: 84.14 kB / 0.6211 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.003735, allocations: 3.953 kB / 0.6211 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.003765, allocations: 13.72 kB / 0.6211 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.003866, allocations: 322.8 kB / 0.6214 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.003893, allocations: 4 kB / 0.6214 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.942e-05/0.003912, allocations: 4 kB / 0.6214 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.592e-05/0.003968, allocations: 24.78 kB / 0.6214 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.003971, allocations: 11.94 kB / 0.6214 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.959e-05/0.004051, allocations: 53.62 kB / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.004061, allocations: 4 kB / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.004065, allocations: 0 / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.004073, allocations: 336 / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.00432, allocations: 39.94 kB / 0.6215 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009942/0.005314, allocations: 1.293 MB / 0.6228 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.005331, allocations: 4.156 kB / 0.6228 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.005335, allocations: 0 / 0.6228 GB, free: 9.332 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.181e-05/0.005407, allocations: 110.9 kB / 0.6229 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.005415, allocations: 7.938 kB / 0.6229 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.005431, allocations: 7.531 kB / 0.6229 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.005433, allocations: 0 / 0.6229 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.005435, allocations: 4 kB / 0.6229 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005438, allocations: 0 / 0.6229 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.006e-05/0.005498, allocations: 97.31 kB / 0.623 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005499, allocations: 0 / 0.623 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.005717, allocations: 47.94 kB / 0.6231 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.005719, allocations: 0 / 0.6231 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.005729, allocations: 15.92 kB / 0.6231 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008326/0.006561, allocations: 1.27 MB / 0.6243 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006562, allocations: 3.938 kB / 0.6243 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.806e-05/0.00665, allocations: 81.17 kB / 0.6244 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-06/0.006653, allocations: 4 kB / 0.6244 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-06/0.006659, allocations: 4 kB / 0.6244 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.006673, allocations: 4.047 kB / 0.6244 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.00669, allocations: 3.984 kB / 0.6244 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.006694, allocations: 3.984 kB / 0.6244 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.006728, allocations: 79.28 kB / 0.6245 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.006728, allocations: 0 / 0.6245 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001985/0.006926, allocations: 0 / 0.6245 GB, free: 7.434 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001107/0.007037, allocations: 99.25 kB / 0.6246 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.00735, allocations: 55.92 kB / 0.6246 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007351, allocations: 3.938 kB / 0.6246 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.007583, allocations: 67.84 kB / 0.6247 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.007717, allocations: 3.938 kB / 0.6247 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.00803, allocations: 114.7 kB / 0.6248 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.888e-05/0.008069, allocations: 55.36 kB / 0.6249 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.008091, allocations: 12.5 kB / 0.6249 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.008092, allocations: 4 kB / 0.6249 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of Templates: time 0.001753/0.009845, allocations: 0.6009 MB / 0.6255 GB, free: 6.363 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8919054782018065] Failed to read output from testmodel.py, exit status != 0: 0.01590997353196144 0.026641065000000002 0.021820452 Calling exit ...