Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00115/0.00115, 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.001312/0.001312, allocations: 181.9 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.8542/0.8542, allocations: 177.2 MB / 203.5 MB, free: 5.715 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.7211/0.7211, allocations: 154.5 MB / 414.5 MB, free: 0.8242 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.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.123e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001514/0.001535, allocations: 0.6059 MB / 0.6199 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002968/0.001832, allocations: 87.75 kB / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.00185, allocations: 0 / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.001867, allocations: 0 / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.001914, allocations: 0 / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.002159, allocations: 19.92 kB / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.875e-05/0.002217, allocations: 7.984 kB / 0.62 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.002261, allocations: 4 kB / 0.62 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.496e-05/0.002296, allocations: 0 / 0.62 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.002378, allocations: 11.92 kB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.002394, allocations: 0 / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.276e-05/0.002457, allocations: 15.98 kB / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.002469, allocations: 0 / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.002486, allocations: 0 / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.002594, allocations: 23.91 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002596, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.002597, allocations: 4 kB / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.002601, allocations: 0 / 0.6201 GB, free: 12.36 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.0003165/0.002918, allocations: 242.4 kB / 0.6203 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.002959, allocations: 9.469 kB / 0.6203 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.003109, allocations: 8.922 kB / 0.6203 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.432e-05/0.003183, allocations: 109.8 kB / 0.6205 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.003204, allocations: 4.312 kB / 0.6205 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.003213, allocations: 384 / 0.6205 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.003326, allocations: 42.19 kB / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.003335, allocations: 4.188 kB / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.003347, allocations: 4.375 kB / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.003352, allocations: 384 / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.003418, allocations: 15.92 kB / 0.6205 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.003552, allocations: 105.3 kB / 0.6206 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.003694, allocations: 38.61 kB / 0.6207 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.003732, allocations: 12.91 kB / 0.6207 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.003749, allocations: 3.938 kB / 0.6207 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.003775, allocations: 42.56 kB / 0.6207 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.003776, allocations: 3.938 kB / 0.6207 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001912/0.003967, allocations: 49.67 kB / 0.6208 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.004006, allocations: 55.41 kB / 0.6208 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.289e-05/0.004039, allocations: 89.86 kB / 0.6209 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.004052, allocations: 25.7 kB / 0.6209 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.393e-05/0.004076, allocations: 80.14 kB / 0.621 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.004108, allocations: 11.91 kB / 0.621 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.004141, allocations: 13.72 kB / 0.621 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.004238, allocations: 322.8 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.00427, allocations: 8 kB / 0.6213 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.004296, allocations: 11.92 kB / 0.6214 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.291e-05/0.004359, allocations: 20.86 kB / 0.6214 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.004361, allocations: 0 / 0.6214 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.964e-05/0.004461, allocations: 49.67 kB / 0.6214 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.004474, allocations: 4 kB / 0.6214 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.004479, allocations: 0 / 0.6214 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.004492, allocations: 336 / 0.6214 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.004783, allocations: 43.94 kB / 0.6215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.005844, allocations: 1.286 MB / 0.6227 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.005866, allocations: 4 kB / 0.6227 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.005874, allocations: 8.031 kB / 0.6227 GB, free: 9.383 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 6.568e-05/0.00594, allocations: 106.8 kB / 0.6228 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.005947, allocations: 3.938 kB / 0.6228 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.128e-05/0.005959, allocations: 7.656 kB / 0.6228 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.005961, allocations: 4 kB / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005962, allocations: 0 / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005965, allocations: 0 / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.619e-05/0.006031, allocations: 109.2 kB / 0.623 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006032, allocations: 3.938 kB / 0.623 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.00628, allocations: 47.94 kB / 0.623 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.006285, allocations: 7.922 kB / 0.623 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.006293, allocations: 3.938 kB / 0.623 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008829/0.007176, allocations: 1.27 MB / 0.6243 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.007179, allocations: 7.969 kB / 0.6243 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.007284, allocations: 73.05 kB / 0.6243 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-06/0.007287, allocations: 0 / 0.6243 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-06/0.007292, allocations: 7.938 kB / 0.6243 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.00731, allocations: 0 / 0.6243 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.007328, allocations: 4.031 kB / 0.6243 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.007334, allocations: 11.98 kB / 0.6244 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.468e-05/0.007359, allocations: 79.38 kB / 0.6244 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.007359, allocations: 0 / 0.6244 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000224/0.007583, allocations: 4 kB / 0.6244 GB, free: 7.477 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 8.942e-05/0.007673, allocations: 91.25 kB / 0.6245 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.008001, allocations: 63.86 kB / 0.6246 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.008003, allocations: 0 / 0.6246 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.00826, allocations: 55.91 kB / 0.6246 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.008407, allocations: 7.938 kB / 0.6246 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.008676, allocations: 114.8 kB / 0.6248 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.008714, allocations: 55.36 kB / 0.6248 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.008736, allocations: 8.5 kB / 0.6248 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.008736, allocations: 0 / 0.6248 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of Templates: time 0.001798/0.01053, allocations: 0.6081 MB / 0.6254 GB, free: 6.422 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.176961228251457] Failed to read output from testmodel.py, exit status != 0: 0.016565031372010708 0.028539653 0.023504448 Calling exit ...