Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.0007909/0.0007909, allocations: 72.5 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.0007469/0.0007469, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8736/0.8736, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6896/0.6896, allocations: 154.5 MB / 414.5 MB, free: 0.8438 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.6193 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.812e-05, allocations: 5.016 kB / 0.6193 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.00186/0.001888, allocations: 1.453 MB / 0.6207 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0005485/0.002436, allocations: 354.8 kB / 0.621 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.002472, allocations: 7.938 kB / 0.621 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.002499, allocations: 3.938 kB / 0.621 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 3.966e-05/0.002538, allocations: 0 / 0.621 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.002906, allocations: 118.7 kB / 0.6212 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.00298, allocations: 35.84 kB / 0.6212 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.003072, allocations: 11.94 kB / 0.6212 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.003119, allocations: 11.98 kB / 0.6212 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 3.51e-05/0.003154, allocations: 7.984 kB / 0.6212 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.003169, allocations: 4 kB / 0.6212 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.00344, allocations: 255.7 kB / 0.6215 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.003456, allocations: 0 / 0.6215 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.003481, allocations: 19.91 kB / 0.6215 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.003688, allocations: 127.7 kB / 0.6216 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003691, allocations: 4 kB / 0.6216 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003692, allocations: 4 kB / 0.6216 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.003696, allocations: 3.938 kB / 0.6216 GB, free: 9.734 MB / 0.5417 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.0003563/0.004052, allocations: 286 kB / 0.6219 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.004091, allocations: 9.469 kB / 0.6219 GB, free: 9.414 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.004144, allocations: 4.938 kB / 0.6219 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.004226, allocations: 109.7 kB / 0.622 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.004237, allocations: 4.375 kB / 0.622 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.004247, allocations: 4.359 kB / 0.622 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.004384, allocations: 58.11 kB / 0.6221 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004391, allocations: 4.188 kB / 0.6221 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.0044, allocations: 384 / 0.6221 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.004406, allocations: 384 / 0.6221 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.004497, allocations: 39.89 kB / 0.6221 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.004755, allocations: 200.6 kB / 0.6223 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.004838, allocations: 38.56 kB / 0.6223 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.004885, allocations: 28.84 kB / 0.6224 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.005199, allocations: 75.91 kB / 0.6224 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.00522, allocations: 34.56 kB / 0.6225 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.005221, allocations: 0 / 0.6225 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002387/0.00546, allocations: 85.58 kB / 0.6226 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.005485, allocations: 51.41 kB / 0.6226 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.329e-05/0.005538, allocations: 105.8 kB / 0.6227 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005549, allocations: 29.7 kB / 0.6227 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.005583, allocations: 84.14 kB / 0.6228 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.005599, allocations: 3.953 kB / 0.6228 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.005623, allocations: 17.72 kB / 0.6228 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.005697, allocations: 311 kB / 0.6231 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.00574, allocations: 27.91 kB / 0.6232 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.005777, allocations: 15.98 kB / 0.6232 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/0.005853, allocations: 36.83 kB / 0.6232 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005855, allocations: 0 / 0.6232 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001107/0.005965, allocations: 73.72 kB / 0.6233 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.005976, allocations: 4 kB / 0.6233 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005981, allocations: 3.938 kB / 0.6233 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.005992, allocations: 0 / 0.6233 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.006045, allocations: 11.98 kB / 0.6233 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.006049, allocations: 0 / 0.6233 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.006072, allocations: 12.19 kB / 0.6233 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.006076, allocations: 0 / 0.6233 GB, free: 7.824 MB / 0.5417 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.006125, allocations: 114.8 kB / 0.6234 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.006145, allocations: 8.031 kB / 0.6234 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.006273, allocations: 77.22 kB / 0.6235 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006275, allocations: 3.938 kB / 0.6235 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.006279, allocations: 3.938 kB / 0.6235 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.006281, allocations: 0 / 0.6235 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.924e-05/0.00637, allocations: 109.3 kB / 0.6236 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006371, allocations: 0 / 0.6236 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.006395, allocations: 7.984 kB / 0.6236 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.006396, allocations: 4.031 kB / 0.6236 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.006402, allocations: 4 kB / 0.6236 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.006404, allocations: 3.938 kB / 0.6236 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006405, allocations: 0 / 0.6236 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.006537, allocations: 163.5 kB / 0.6238 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.006544, allocations: 7.953 kB / 0.6238 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.006553, allocations: 0 / 0.6238 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.006591, allocations: 11.92 kB / 0.6238 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.006619, allocations: 32 / 0.6238 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.006621, allocations: 4 kB / 0.6238 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.941e-05/0.006651, allocations: 91.27 kB / 0.6239 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.006651, allocations: 0 / 0.6239 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001678/0.006819, allocations: 15.94 kB / 0.6239 GB, free: 7.137 MB / 0.5417 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.006935, allocations: 107.2 kB / 0.624 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.007058, allocations: 39.95 kB / 0.6241 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.00706, allocations: 3.938 kB / 0.6241 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.0071, allocations: 20.05 kB / 0.6241 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.007284, allocations: 6.188 kB / 0.6241 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.007513, allocations: 142.4 kB / 0.6242 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.91e-05/0.007552, allocations: 59.34 kB / 0.6243 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.007574, allocations: 12.5 kB / 0.6243 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.007575, allocations: 0 / 0.6243 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of Templates: time 0.001516/0.009091, allocations: 0.7314 MB / 0.625 GB, free: 5.969 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.833832334727049] Failed to read output from testmodel.py, exit status != 0: 0.014682235196232796 0.024846651 0.018628802 Calling exit ...