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.0007753/0.0007753, allocations: 100.4 kB / 19.7 MB, free: 0.5664 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.0008427/0.0008427, allocations: 217.3 kB / 23 MB, free: 3.082 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.9086/0.9086, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7666/0.7666, allocations: 203.8 MB / 0.5049 GB, free: 10.46 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.0009097/0.0009097, allocations: 72.5 kB / 0.7194 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4757, allocations: 102 MB / 0.8191 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001273/0.4769, allocations: 0.5919 MB / 0.8196 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002425/0.4772, allocations: 86.48 kB / 0.8197 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.4772, allocations: 4 kB / 0.8197 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.4772, allocations: 0 / 0.8197 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.4773, allocations: 0.7969 kB / 0.8197 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.4775, allocations: 18.05 kB / 0.8197 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.4775, allocations: 13.11 kB / 0.8197 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.4776, allocations: 2.562 kB / 0.8198 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.988e-05/0.4776, allocations: 2.766 kB / 0.8198 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.4777, allocations: 2.859 kB / 0.8198 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.4777, allocations: 0 / 0.8198 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.177e-05/0.4777, allocations: 25.34 kB / 0.8198 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.4777, allocations: 0.5625 kB / 0.8198 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.4778, allocations: 4.688 kB / 0.8198 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.4779, allocations: 27.59 kB / 0.8198 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4779, allocations: 0 / 0.8198 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4779, allocations: 0 / 0.8198 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.4779, allocations: 0 / 0.8198 GB, free: 0.8711 MB / 0.6042 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.0002579/0.4781, allocations: 238.6 kB / 0.82 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4782, allocations: 9.25 kB / 0.82 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.4783, allocations: 24.31 kB / 0.8201 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.391e-05/0.4784, allocations: 107.4 kB / 0.8202 GB, free: 488 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.4784, allocations: 384 / 0.8202 GB, free: 488 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.4784, allocations: 384 / 0.8202 GB, free: 488 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.4785, allocations: 38.16 kB / 0.8202 GB, free: 456 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4785, allocations: 192 / 0.8202 GB, free: 456 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.4785, allocations: 7.938 kB / 0.8202 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4785, allocations: 0 / 0.8202 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.4786, allocations: 11.61 kB / 0.8202 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.587e-05/0.4786, allocations: 105.6 kB / 0.8203 GB, free: 316 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.4788, allocations: 46.38 kB / 0.8204 GB, free: 280 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.4788, allocations: 11.75 kB / 0.8204 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.4788, allocations: 0 / 0.8204 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.4788, allocations: 40.73 kB / 0.8204 GB, free: 224 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.4788, allocations: 2.781 kB / 0.8204 GB, free: 224 kB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001543/0.479, allocations: 59.27 kB / 0.8205 GB, free: 180 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.479, allocations: 51.41 kB / 0.8205 GB, free: 116 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.257e-05/0.479, allocations: 89.86 kB / 0.8206 GB, free: 16 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.479, allocations: 30.7 kB / 0.8206 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.781e-05/0.4791, allocations: 80.98 kB / 0.8207 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.4791, allocations: 13.92 kB / 0.8207 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.4791, allocations: 13.81 kB / 0.8208 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.4792, allocations: 314.7 kB / 0.8211 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.4792, allocations: 8.938 kB / 0.8211 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.4792, allocations: 6.484 kB / 0.8211 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/0.4793, allocations: 19.83 kB / 0.8211 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4793, allocations: 2.594 kB / 0.8211 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.92e-05/0.4794, allocations: 58.05 kB / 0.8211 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4794, allocations: 5.891 kB / 0.8211 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4794, allocations: 0 / 0.8211 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4794, allocations: 0.6562 kB / 0.8211 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.4796, allocations: 45.45 kB / 0.8212 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008127/0.4804, allocations: 1.285 MB / 0.8224 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.4804, allocations: 0.6562 kB / 0.8224 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.4804, allocations: 4.156 kB / 0.8225 GB, free: 14.21 MB / 0.6198 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.236e-05/0.4805, allocations: 126.6 kB / 0.8226 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.4805, allocations: 4.562 kB / 0.8226 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.356e-06/0.4805, allocations: 3.531 kB / 0.8226 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4805, allocations: 0.7969 kB / 0.8226 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.02e-07/0.4805, allocations: 0 / 0.8226 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4805, allocations: 1.875 kB / 0.8226 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.442e-05/0.4806, allocations: 101.3 kB / 0.8227 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4806, allocations: 3.938 kB / 0.8227 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.4808, allocations: 50.27 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4808, allocations: 0.9375 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.4808, allocations: 0.7031 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006476/0.4814, allocations: 1.282 MB / 0.824 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4814, allocations: 0 / 0.824 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.627e-05/0.4815, allocations: 78.89 kB / 0.8241 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-06/0.4815, allocations: 6.047 kB / 0.8241 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-06/0.4815, allocations: 0 / 0.8241 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.219e-05/0.4815, allocations: 3 kB / 0.8241 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.4815, allocations: 11.88 kB / 0.8241 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.4815, allocations: 0 / 0.8241 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.176e-05/0.4816, allocations: 81.52 kB / 0.8242 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4816, allocations: 0 / 0.8242 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001283/0.4817, allocations: 9.938 kB / 0.8242 GB, free: 12.49 MB / 0.6198 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.499e-05/0.4818, allocations: 97.48 kB / 0.8243 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.482, allocations: 60.27 kB / 0.8243 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.482, allocations: 0 / 0.8243 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4822, allocations: 56.28 kB / 0.8244 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.895e-05/0.4823, allocations: 5.562 kB / 0.8244 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.4826, allocations: 120.1 kB / 0.8245 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.4826, allocations: 56.94 kB / 0.8245 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.4826, allocations: 11.44 kB / 0.8246 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.4826, allocations: 0 / 0.8246 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.001584/0.4842, allocations: 0.601 MB / 0.8251 GB, free: 12.14 MB / 0.6198 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.633601221721619] Failed to read output from testmodel.py, exit status != 0: 0.4896650048904121 0.49968881 0.019949775000000003 Calling exit ...