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.0008031/0.0008031, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008436/0.0008436, allocations: 211.1 kB / 23.01 MB, free: 3.113 MB / 13.93 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.8993/0.8993, allocations: 230.6 MB / 256.8 MB, free: 3.453 MB / 202.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.7608/0.7608, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008805/0.0008805, allocations: 67.91 kB / 0.7195 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4392, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001449/0.4406, allocations: 0.6032 MB / 0.8197 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002581/0.4409, allocations: 88.08 kB / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.4409, allocations: 0 / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.4409, allocations: 2.688 kB / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.441, allocations: 4.594 kB / 0.8198 GB, free: 24.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.4412, allocations: 18.91 kB / 0.8198 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.052e-05/0.4413, allocations: 4.844 kB / 0.8198 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.4413, allocations: 1.734 kB / 0.8198 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.4413, allocations: 8.141 kB / 0.8198 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.4414, allocations: 6.938 kB / 0.8198 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.4414, allocations: 1.094 kB / 0.8198 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-05/0.4415, allocations: 15.25 kB / 0.8199 GB, free: 24.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.4415, allocations: 0.5312 kB / 0.8199 GB, free: 24.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.4415, allocations: 11.84 kB / 0.8199 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.4416, allocations: 20.78 kB / 0.8199 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4416, allocations: 0.6094 kB / 0.8199 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.916e-06/0.4416, allocations: 6.688 kB / 0.8199 GB, free: 24.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4416, allocations: 0 / 0.8199 GB, free: 24.74 MB / 0.6355 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.0002545/0.4419, allocations: 242.7 kB / 0.8201 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4419, allocations: 11.69 kB / 0.8201 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.442, allocations: 10.95 kB / 0.8202 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.064e-05/0.4421, allocations: 108.8 kB / 0.8203 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.4421, allocations: 2 kB / 0.8203 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.4421, allocations: 2.219 kB / 0.8203 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.4422, allocations: 37.73 kB / 0.8203 GB, free: 24.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4422, allocations: 0.7969 kB / 0.8203 GB, free: 24.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4422, allocations: 3.938 kB / 0.8203 GB, free: 24.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4422, allocations: 0.5938 kB / 0.8203 GB, free: 24.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.4423, allocations: 15.7 kB / 0.8203 GB, free: 24.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.772e-05/0.4424, allocations: 128.8 kB / 0.8204 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.4425, allocations: 41.73 kB / 0.8205 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.4425, allocations: 11.62 kB / 0.8205 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.4426, allocations: 4 kB / 0.8205 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.4426, allocations: 36.09 kB / 0.8205 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.4426, allocations: 3.984 kB / 0.8205 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001535/0.4427, allocations: 64.81 kB / 0.8206 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.4427, allocations: 56.11 kB / 0.8206 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.159e-05/0.4428, allocations: 89.86 kB / 0.8207 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.4428, allocations: 27.55 kB / 0.8208 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-06/0.4428, allocations: 80.14 kB / 0.8208 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.4428, allocations: 9.953 kB / 0.8208 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.4428, allocations: 13.62 kB / 0.8209 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.845e-05/0.4429, allocations: 312.1 kB / 0.8212 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.4429, allocations: 12.12 kB / 0.8212 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/0.4429, allocations: 5.984 kB / 0.8212 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.152e-05/0.4429, allocations: 20.61 kB / 0.8212 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4429, allocations: 4 kB / 0.8212 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.768e-05/0.443, allocations: 55.75 kB / 0.8212 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.443, allocations: 10.34 kB / 0.8213 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.443, allocations: 0 / 0.8213 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4431, allocations: 4.938 kB / 0.8213 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.4433, allocations: 41.19 kB / 0.8213 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000661/0.4439, allocations: 1.303 MB / 0.8226 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.444, allocations: 5.656 kB / 0.8226 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.444, allocations: 1.797 kB / 0.8226 GB, free: 22.02 MB / 0.6355 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 4.335e-05/0.444, allocations: 124.6 kB / 0.8227 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.444, allocations: 1.109 kB / 0.8227 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-06/0.444, allocations: 5.031 kB / 0.8227 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.444, allocations: 1.156 kB / 0.8227 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.444, allocations: 0.7969 kB / 0.8227 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.444, allocations: 0 / 0.8227 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.259e-05/0.4441, allocations: 130.7 kB / 0.8228 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.4441, allocations: 1.031 kB / 0.8228 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.4443, allocations: 50.33 kB / 0.8229 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4443, allocations: 0.9844 kB / 0.8229 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.4443, allocations: 0 / 0.8229 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004928/0.4448, allocations: 1.308 MB / 0.8242 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4448, allocations: 0.5938 kB / 0.8242 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.912e-05/0.4448, allocations: 74.06 kB / 0.8242 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-06/0.4448, allocations: 0.9062 kB / 0.8242 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-06/0.4448, allocations: 5.266 kB / 0.8242 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.4449, allocations: 5.875 kB / 0.8242 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.4449, allocations: 6.125 kB / 0.8242 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.4449, allocations: 2.328 kB / 0.8243 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.308e-06/0.4449, allocations: 75.28 kB / 0.8243 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-08/0.4449, allocations: 0 / 0.8243 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001305/0.445, allocations: 7.938 kB / 0.8243 GB, free: 20.24 MB / 0.6355 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.906e-05/0.4451, allocations: 98.47 kB / 0.8244 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.4454, allocations: 59.09 kB / 0.8245 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4454, allocations: 4 kB / 0.8245 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.4455, allocations: 59.72 kB / 0.8245 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.4456, allocations: 0.75 kB / 0.8245 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.4459, allocations: 127 kB / 0.8247 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.56e-05/0.446, allocations: 0.6728 MB / 0.8253 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.446, allocations: 9.922 kB / 0.8253 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.446, allocations: 0 / 0.8253 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.001754/0.4478, allocations: 0.5936 MB / 0.8259 GB, free: 19.27 MB / 0.6355 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.7405706259887666] Failed to read output from testmodel.py, exit status != 0: 0.45362226804718375 0.462380812 0.018951358 Calling exit ...