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.001295/0.001295, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001299/0.001299, allocations: 157.4 kB / 23.01 MB, free: 4.945 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.394/1.394, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7938/0.7938, allocations: 101.3 MB / 361.1 MB, free: 9.57 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: 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.002104/0.002104, allocations: 66.42 kB / 0.5357 GB, free: 5.227 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1419, allocations: 85.88 MB / 0.6195 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001667/0.1436, allocations: 0.5914 MB / 0.6201 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002583/0.1439, allocations: 92.2 kB / 0.6202 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.1439, allocations: 3.938 kB / 0.6202 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.1439, allocations: 0 / 0.6202 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.1439, allocations: 0 / 0.6202 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.1441, allocations: 11.98 kB / 0.6202 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.227e-05/0.1441, allocations: 7.938 kB / 0.6202 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.1442, allocations: 7.984 kB / 0.6202 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.1442, allocations: 3.938 kB / 0.6202 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.1443, allocations: 15.98 kB / 0.6203 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1443, allocations: 0 / 0.6203 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.252e-05/0.1443, allocations: 11.98 kB / 0.6203 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.1443, allocations: 0 / 0.6203 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.1444, allocations: 4 kB / 0.6203 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.1445, allocations: 19.86 kB / 0.6203 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1445, allocations: 0 / 0.6203 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1445, allocations: 0 / 0.6203 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.1445, allocations: 0 / 0.6203 GB, free: 0.7812 MB / 0.5137 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.0003241/0.1448, allocations: 242.5 kB / 0.6205 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1448, allocations: 8.031 kB / 0.6205 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.145, allocations: 16.88 kB / 0.6205 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.145, allocations: 110.4 kB / 0.6207 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1451, allocations: 4.375 kB / 0.6207 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.1451, allocations: 384 / 0.6207 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1452, allocations: 42.23 kB / 0.6207 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1452, allocations: 192 / 0.6207 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1452, allocations: 11.94 kB / 0.6207 GB, free: 300 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1452, allocations: 0 / 0.6207 GB, free: 300 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.1453, allocations: 11.92 kB / 0.6207 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.1454, allocations: 105.3 kB / 0.6208 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1456, allocations: 42.59 kB / 0.6209 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.1456, allocations: 12.92 kB / 0.6209 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1457, allocations: 0 / 0.6209 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1457, allocations: 30.56 kB / 0.6209 GB, free: 44 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1457, allocations: 0 / 0.6209 GB, free: 44 kB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002153/0.1459, allocations: 61.55 kB / 0.621 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.1459, allocations: 55.41 kB / 0.621 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.406e-05/0.146, allocations: 97.86 kB / 0.6211 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.146, allocations: 25.7 kB / 0.6211 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.146, allocations: 80.14 kB / 0.6212 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1461, allocations: 7.938 kB / 0.6212 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.1461, allocations: 21.7 kB / 0.6212 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1463, allocations: 310.8 kB / 0.6215 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.1463, allocations: 7.938 kB / 0.6215 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.1463, allocations: 8.172 kB / 0.6215 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.1464, allocations: 28.86 kB / 0.6216 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1464, allocations: 4 kB / 0.6216 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001156/0.1465, allocations: 49.69 kB / 0.6216 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1465, allocations: 4 kB / 0.6216 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1465, allocations: 0 / 0.6216 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1465, allocations: 0 / 0.6216 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.147, allocations: 51.86 kB / 0.6217 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.1483, allocations: 1.279 MB / 0.6229 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.1484, allocations: 0 / 0.6229 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1484, allocations: 4 kB / 0.6229 GB, free: 13.8 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 8.753e-05/0.1485, allocations: 114.9 kB / 0.623 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.1485, allocations: 7.938 kB / 0.6231 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.593e-05/0.1485, allocations: 3.531 kB / 0.6231 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.1485, allocations: 0 / 0.6231 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.1485, allocations: 0 / 0.6231 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1485, allocations: 4 kB / 0.6231 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.111e-05/0.1486, allocations: 97.33 kB / 0.6232 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1486, allocations: 8 kB / 0.6232 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.149, allocations: 51.86 kB / 0.6232 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.149, allocations: 0 / 0.6232 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.149, allocations: 8 kB / 0.6232 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.1502, allocations: 1.278 MB / 0.6245 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1502, allocations: 0 / 0.6245 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.1504, allocations: 89.17 kB / 0.6245 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-06/0.1504, allocations: 4 kB / 0.6246 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-06/0.1504, allocations: 0 / 0.6246 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.793e-05/0.1504, allocations: 4 kB / 0.6246 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.1504, allocations: 3.984 kB / 0.6246 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.1504, allocations: 0 / 0.6246 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.1505, allocations: 83.22 kB / 0.6246 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1505, allocations: 0 / 0.6246 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001946/0.1507, allocations: 0 / 0.6246 GB, free: 11.89 MB / 0.5294 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.0001066/0.1508, allocations: 103.2 kB / 0.6247 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004794/0.1513, allocations: 59.84 kB / 0.6248 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1513, allocations: 3.938 kB / 0.6248 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.1515, allocations: 43.95 kB / 0.6248 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.1516, allocations: 2.516 kB / 0.6248 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.1519, allocations: 96.78 kB / 0.6249 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.436e-05/0.1519, allocations: 55.36 kB / 0.625 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.152, allocations: 7.984 kB / 0.625 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.152, allocations: 12.5 kB / 0.625 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.152, allocations: 0 / 0.625 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.002504/0.1545, allocations: 453.7 kB / 0.6254 GB, free: 11.03 MB / 0.5294 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.045951858977787] Failed to read output from testmodel.py, exit status != 0: 0.16146265098359436 0.176688053 0.029181021 Calling exit ...