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.0009888/0.0009888, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002817/0.003806, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001045/0.001045, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002498, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.034/1.034, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.134, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.8028/0.8028, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.3201/1.123, allocations: 49.13 MB / 448.6 MB, free: 5.926 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.463e-06/1.463e-06, allocations: 0 / 450 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.834e-05, allocations: 4.422 kB / 450 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002777/0.002805, allocations: 1.551 MB / 451.5 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000582/0.003387, allocations: 373.4 kB / 451.9 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.003413, allocations: 0 / 451.9 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.003436, allocations: 3.938 kB / 451.9 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.874e-05/0.003464, allocations: 6.609 kB / 451.9 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.003726, allocations: 85.05 kB / 452 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.362e-05/0.0038, allocations: 33.33 kB / 452 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.003873, allocations: 9.156 kB / 452 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.425e-05/0.003948, allocations: 17.58 kB / 452 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.003995, allocations: 13.56 kB / 452.1 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.00401, allocations: 6 kB / 452.1 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.004428, allocations: 287.6 kB / 452.3 MB, free: 2.273 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.004443, allocations: 1.531 kB / 452.3 MB, free: 2.273 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.004461, allocations: 5.422 kB / 452.3 MB, free: 2.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.004669, allocations: 102 kB / 452.4 MB, free: 2.172 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.004683, allocations: 0 / 452.4 MB, free: 2.172 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.9e-07/0.004683, allocations: 0.7812 kB / 452.4 MB, free: 2.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.004692, allocations: 0 / 452.4 MB, free: 2.172 MB / 426.7 MB 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.0003784/0.00507, allocations: 268.6 kB / 452.7 MB, free: 1.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.005105, allocations: 8.031 kB / 452.7 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.766e-05/0.005192, allocations: 86.03 kB / 452.8 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.95e-05/0.005282, allocations: 110.4 kB / 452.9 MB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.00529, allocations: 2.188 kB / 452.9 MB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.005301, allocations: 1.641 kB / 452.9 MB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.005415, allocations: 58.89 kB / 453 MB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005423, allocations: 1.359 kB / 453 MB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.005429, allocations: 384 / 453 MB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005436, allocations: 5 kB / 453 MB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.339e-05/0.00546, allocations: 7.922 kB / 453 MB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.005661, allocations: 151.2 kB / 453.1 MB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.005706, allocations: 22.52 kB / 453.2 MB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.005721, allocations: 8.859 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003357/0.006057, allocations: 70.56 kB / 453.2 MB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.006079, allocations: 31.91 kB / 453.3 MB, free: 1.258 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.006082, allocations: 1.125 kB / 453.3 MB, free: 1.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.000132/0.006214, allocations: 43.94 kB / 453.3 MB, free: 1.211 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.00624, allocations: 55.34 kB / 453.4 MB, free: 1.145 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.006302, allocations: 111.5 kB / 453.5 MB, free: 1.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.006313, allocations: 29.7 kB / 453.5 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.006344, allocations: 84.09 kB / 453.6 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.00636, allocations: 7.938 kB / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.006389, allocations: 18.56 kB / 453.6 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.006477, allocations: 314.8 kB / 453.9 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-06/0.006487, allocations: 4 kB / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.006495, allocations: 1.375 kB / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.00652, allocations: 10.02 kB / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006522, allocations: 0 / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.672e-05/0.006589, allocations: 38.31 kB / 454 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.006605, allocations: 8 kB / 454 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006609, allocations: 0.625 kB / 454 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.006623, allocations: 1.609 kB / 454 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.006689, allocations: 15.88 kB / 454 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.006691, allocations: 0.625 kB / 454 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.006714, allocations: 8.609 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.006718, allocations: 0 / 454 MB, free: 476 kB / 426.7 MB 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 6.054e-05/0.006778, allocations: 110.5 kB / 454.1 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.006811, allocations: 0.7188 kB / 454.1 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.6e-05/0.006887, allocations: 46.09 kB / 454.2 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006889, allocations: 0 / 454.2 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.006894, allocations: 9.641 kB / 454.2 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006897, allocations: 1.359 kB / 454.2 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.007007, allocations: 70.88 kB / 454.2 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007008, allocations: 0 / 454.2 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.007041, allocations: 8 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-06/0.007046, allocations: 0.9062 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007048, allocations: 0 / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.007054, allocations: 5.875 kB / 454.3 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.007056, allocations: 4 kB / 454.3 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.007058, allocations: 7.875 kB / 454.3 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.984e-05/0.007148, allocations: 124.2 kB / 454.4 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.007159, allocations: 5.297 kB / 454.4 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.007213, allocations: 4 kB / 454.4 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.00724, allocations: 0 / 454.4 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.007242, allocations: 1.344 kB / 454.4 MB, free: 32 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.927e-05/0.007261, allocations: 20.78 kB / 454.4 MB, free: 8 kB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007262, allocations: 0.5469 kB / 454.4 MB, free: 8 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.007486, allocations: 19.98 kB / 454.4 MB, free: 15.98 MB / 442.7 MB 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.0001472/0.007633, allocations: 93.41 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.00771, allocations: 14.72 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.007717, allocations: 4 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.007744, allocations: 10.48 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.007952, allocations: 39.12 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.008337, allocations: 106.4 kB / 454.7 MB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.518e-05/0.008372, allocations: 59.22 kB / 454.8 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.008391, allocations: 1.438 kB / 454.8 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.008435, allocations: 59.36 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/0.008436, allocations: 0 / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of Templates: time 0.002337/0.01077, allocations: 0.728 MB / 455.5 MB, free: 14.87 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.597771401517093]