Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001146/0.001146, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00133/0.00133, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.003/1.003, allocations: 177.2 MB / 203.8 MB, free: 5.477 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-535:34: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-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 master/package.mo): time 0.8161/0.8161, allocations: 154.9 MB / 415.1 MB, free: 228 kB / 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0.6562 kB / 480.5 MB, free: 6.434 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.266e-05, allocations: 6.25 kB / 480.5 MB, free: 6.426 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001453/0.001476, allocations: 0.6391 MB / 481.1 MB, free: 5.824 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005057/0.001981, allocations: 305.8 kB / 481.4 MB, free: 5.535 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.001996, allocations: 0 / 481.4 MB, free: 5.535 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.00201, allocations: 3.938 kB / 481.4 MB, free: 5.531 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.462e-06/0.002017, allocations: 0.8125 kB / 481.4 MB, free: 5.531 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.002352, allocations: 85.33 kB / 481.5 MB, free: 5.449 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.946e-05/0.002392, allocations: 0 / 481.5 MB, free: 5.449 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.00243, allocations: 4.625 kB / 481.5 MB, free: 5.445 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.00246, allocations: 6 kB / 481.5 MB, free: 5.441 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.476e-05/0.002484, allocations: 4.641 kB / 481.5 MB, free: 5.438 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.002495, allocations: 0 / 481.5 MB, free: 5.438 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.002831, allocations: 275.6 kB / 481.8 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.002841, allocations: 0 / 481.8 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.159e-05/0.002853, allocations: 4.859 kB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.003004, allocations: 113.3 kB / 481.9 MB, free: 5.055 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.003009, allocations: 3.984 kB / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00301, allocations: 0.7656 kB / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003013, allocations: 0 / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002036/0.003217, allocations: 229.8 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.003261, allocations: 12.03 kB / 482.1 MB, free: 4.789 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.003322, allocations: 1.484 kB / 482.1 MB, free: 4.789 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.904e-05/0.003382, allocations: 114.4 kB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.003391, allocations: 4.375 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-06/0.003396, allocations: 1 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.996e-05/0.003456, allocations: 26.89 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.003462, allocations: 0.9531 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.003468, allocations: 1 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003472, allocations: 384 / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.116e-05/0.003484, allocations: 8.562 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.091e-05/0.003555, allocations: 68.75 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.468e-05/0.003589, allocations: 26.55 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.187e-06/0.003598, allocations: 5.484 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.003818, allocations: 43.11 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.003839, allocations: 34.56 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.00384, allocations: 0 / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 9.525e-05/0.003935, allocations: 31.48 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.003959, allocations: 51.41 kB / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.442e-05/0.003983, allocations: 90.86 kB / 482.6 MB, free: 4.211 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.003993, allocations: 33.62 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.004012, allocations: 80.67 kB / 482.7 MB, free: 4.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.004037, allocations: 0 / 482.7 MB, free: 4.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.00406, allocations: 19.02 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.004135, allocations: 314.8 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-06/0.004142, allocations: 4.766 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-06/0.004149, allocations: 4.656 kB / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.299e-05/0.004171, allocations: 6.078 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004173, allocations: 0 / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.67e-05/0.00423, allocations: 44.97 kB / 483.1 MB, free: 3.688 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.004241, allocations: 5.062 kB / 483.1 MB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.004245, allocations: 0 / 483.1 MB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.004256, allocations: 1.672 kB / 483.1 MB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-05/0.004289, allocations: 7.938 kB / 483.1 MB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004291, allocations: 0 / 483.1 MB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-06/0.004299, allocations: 0.5 kB / 483.1 MB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.004303, allocations: 0 / 483.1 MB, free: 3.676 MB / 442.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 (1): * Single equations (assignments): 1 * 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.652e-05/0.00435, allocations: 111 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.004363, allocations: 4.719 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.004429, allocations: 41.92 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.00443, allocations: 0 / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.004432, allocations: 0 / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.004434, allocations: 0.7656 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.338e-05/0.004477, allocations: 61.84 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.004479, allocations: 4.5 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-06/0.004487, allocations: 0.5312 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.004488, allocations: 0 / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.004494, allocations: 4.703 kB / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.004495, allocations: 0 / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.004497, allocations: 6.484 kB / 483.4 MB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.342e-05/0.004551, allocations: 57.42 kB / 483.4 MB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-06/0.004556, allocations: 7.938 kB / 483.4 MB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-06/0.004563, allocations: 4.625 kB / 483.4 MB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-06/0.004567, allocations: 0.5938 kB / 483.4 MB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.004577, allocations: 3.984 kB / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.004579, allocations: 1.438 kB / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.072e-06/0.004585, allocations: 4.859 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004585, allocations: 0 / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001037/0.004688, allocations: 8 kB / 483.5 MB, free: 3.316 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 (1): * Single equations (assignments): 1 * 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.0001246/0.004813, allocations: 103 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.721e-05/0.00486, allocations: 8.797 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.004863, allocations: 4.594 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.004868, allocations: 5.891 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.236e-05/0.00492, allocations: 11.88 kB / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001401/0.00506, allocations: 81.06 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.618e-05/0.005086, allocations: 55.34 kB / 483.7 MB, free: 2.992 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.67e-05/0.005103, allocations: 5.906 kB / 483.7 MB, free: 2.988 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.005128, allocations: 47.38 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005128, allocations: 0.5469 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of Templates: time 0.001966/0.007094, allocations: 0.5375 MB / 484.3 MB, free: 2.434 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.767193885985762]