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.00143/0.00143, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001499/0.001499, allocations: 160 kB / 22.46 MB, free: 5.375 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.446/1.446, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 1.322/1.322, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 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 178] 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 2.024e-06/2.024e-06, allocations: 0 / 0.6186 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.498e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001769/0.001804, allocations: 0.5979 MB / 0.6192 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003246/0.002129, allocations: 95.62 kB / 0.6193 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.002149, allocations: 4.5 kB / 0.6193 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.002168, allocations: 0 / 0.6193 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.002218, allocations: 4 kB / 0.6193 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.002459, allocations: 15.98 kB / 0.6193 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.002517, allocations: 7.984 kB / 0.6193 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.002569, allocations: 0 / 0.6193 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.002605, allocations: 4 kB / 0.6194 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.002695, allocations: 0 / 0.6194 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.002709, allocations: 3.938 kB / 0.6194 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-05/0.002775, allocations: 19.97 kB / 0.6194 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.00279, allocations: 0 / 0.6194 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.00281, allocations: 11.98 kB / 0.6194 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.002912, allocations: 19.86 kB / 0.6194 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002914, allocations: 0 / 0.6194 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002915, allocations: 0 / 0.6194 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.002919, allocations: 0 / 0.6194 GB, free: 3.707 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000405/0.003324, allocations: 246.4 kB / 0.6196 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.003363, allocations: 8.031 kB / 0.6196 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.003527, allocations: 16.92 kB / 0.6197 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.003633, allocations: 105.7 kB / 0.6198 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.003652, allocations: 4.359 kB / 0.6198 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.003667, allocations: 8.375 kB / 0.6198 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.00381, allocations: 38.25 kB / 0.6198 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.00382, allocations: 192 / 0.6198 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.003829, allocations: 384 / 0.6198 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.003833, allocations: 384 / 0.6198 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.00392, allocations: 19.86 kB / 0.6198 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.004075, allocations: 105.3 kB / 0.6199 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.004249, allocations: 34.61 kB / 0.62 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.004301, allocations: 16.91 kB / 0.62 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.004315, allocations: 4 kB / 0.62 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.00434, allocations: 34.56 kB / 0.62 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.004341, allocations: 0 / 0.62 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002391/0.004581, allocations: 57.61 kB / 0.6201 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.004622, allocations: 51.41 kB / 0.6201 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.034e-05/0.004673, allocations: 89.86 kB / 0.6202 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.004688, allocations: 25.7 kB / 0.6202 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.004766, allocations: 80.14 kB / 0.6203 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.00482, allocations: 19.94 kB / 0.6203 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.00485, allocations: 9.719 kB / 0.6203 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.005031, allocations: 322.8 kB / 0.6206 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.562e-05/0.005077, allocations: 11.94 kB / 0.6207 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.005111, allocations: 7.984 kB / 0.6207 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.005197, allocations: 20.8 kB / 0.6207 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005198, allocations: 0 / 0.6207 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001584/0.005357, allocations: 53.61 kB / 0.6207 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.005375, allocations: 8 kB / 0.6207 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.00538, allocations: 4 kB / 0.6207 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.0054, allocations: 0 / 0.6207 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.00581, allocations: 39.94 kB / 0.6208 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.007388, allocations: 1.286 MB / 0.622 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.007421, allocations: 7.984 kB / 0.622 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.007428, allocations: 4 kB / 0.6221 GB, free: 0.7188 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 (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 9.066e-05/0.007518, allocations: 111 kB / 0.6222 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.00753, allocations: 7.938 kB / 0.6222 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.007548, allocations: 7.531 kB / 0.6222 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.007549, allocations: 0 / 0.6222 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.92e-07/0.00755, allocations: 0 / 0.6222 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.007553, allocations: 0 / 0.6222 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.732e-05/0.00765, allocations: 101.3 kB / 0.6223 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007651, allocations: 0 / 0.6223 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.008032, allocations: 51.92 kB / 0.6223 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.008033, allocations: 0 / 0.6223 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.008044, allocations: 3.938 kB / 0.6223 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.009399, allocations: 1.278 MB / 0.6236 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0094, allocations: 0 / 0.6236 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.009544, allocations: 77.02 kB / 0.6236 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-06/0.009547, allocations: 4 kB / 0.6236 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-06/0.009554, allocations: 0 / 0.6236 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.6e-05/0.00958, allocations: 128 / 0.6236 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.009611, allocations: 15.98 kB / 0.6237 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.009614, allocations: 0 / 0.6237 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.009664, allocations: 75.28 kB / 0.6237 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.009664, allocations: 0 / 0.6237 GB, free: 14.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001962/0.00986, allocations: 4 kB / 0.6237 GB, free: 14.83 MB / 0.545 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.0001528/0.01001, allocations: 95.25 kB / 0.6238 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004985/0.01051, allocations: 71.94 kB / 0.6239 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01051, allocations: 0 / 0.6239 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.01077, allocations: 35.84 kB / 0.6239 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.01091, allocations: 11.92 kB / 0.6239 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.01131, allocations: 104.8 kB / 0.624 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.381e-05/0.01136, allocations: 55.36 kB / 0.6241 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.01139, allocations: 0 / 0.6241 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.01143, allocations: 12.5 kB / 0.6241 GB, free: 14.39 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.01143, allocations: 0 / 0.6241 GB, free: 14.39 MB / 0.545 GB Notification: Performance of Templates: time 0.003115/0.01455, allocations: 461.5 kB / 0.6245 GB, free: 13.96 MB / 0.545 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: 5.84336668625474] Failed to read output from testmodel.py, exit status != 0: 0.02400897443294525 0.038577358 0.032587933 Calling exit ...