Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001801/0.001801, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002032/0.002032, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 178] 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 1.321/1.321, allocations: 154.8 MB / 414.3 MB, free: 488 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 178] 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.1e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001787/0.001818, allocations: 0.6252 MB / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008016/0.00262, allocations: 322.8 kB / 0.5208 GB, free: 1.363 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.002644, allocations: 2.719 kB / 0.5208 GB, free: 1.363 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.00266, allocations: 3.938 kB / 0.5208 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.002699, allocations: 0 / 0.5208 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.003241, allocations: 123.5 kB / 0.521 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.003324, allocations: 24.45 kB / 0.521 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.00336, allocations: 0.5 kB / 0.521 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.00343, allocations: 15.98 kB / 0.521 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.003495, allocations: 12.47 kB / 0.521 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.003515, allocations: 5.094 kB / 0.521 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.003928, allocations: 259.6 kB / 0.5213 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.003947, allocations: 11.91 kB / 0.5213 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.00397, allocations: 8.75 kB / 0.5213 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.004215, allocations: 127.7 kB / 0.5214 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004218, allocations: 4.5 kB / 0.5214 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004218, allocations: 0.8438 kB / 0.5214 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.004222, allocations: 0 / 0.5214 GB, free: 0.7812 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005431/0.004765, allocations: 385 kB / 0.5218 GB, free: 376 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.004806, allocations: 8.031 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.004906, allocations: 12.89 kB / 0.5218 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.005028, allocations: 110.4 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.005046, allocations: 4.375 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.005077, allocations: 12.36 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.005246, allocations: 101.6 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.005258, allocations: 0.6875 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.005268, allocations: 384 / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005274, allocations: 5.406 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.005334, allocations: 19.92 kB / 0.522 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.005559, allocations: 124.6 kB / 0.5222 GB, free: 15.9 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.0057, allocations: 68 kB / 0.5222 GB, free: 15.82 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.005745, allocations: 27.69 kB / 0.5222 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005291/0.006274, allocations: 87.97 kB / 0.5223 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.006321, allocations: 37.39 kB / 0.5224 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.006322, allocations: 0 / 0.5224 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of matching and sorting (n=11): time 0.001367/0.007689, allocations: 478.2 kB / 0.5228 GB, free: 15.14 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.007737, allocations: 51.41 kB / 0.5229 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.008125, allocations: 157.9 kB / 0.523 GB, free: 14.9 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.008148, allocations: 26.45 kB / 0.5231 GB, free: 14.87 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.00823, allocations: 134.9 kB / 0.5232 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.008304, allocations: 48.89 kB / 0.5232 GB, free: 14.69 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.008366, allocations: 35.36 kB / 0.5233 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002751/0.008642, allocations: 496.1 kB / 0.5237 GB, free: 14.15 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/0.008694, allocations: 25.05 kB / 0.5238 GB, free: 14.12 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.433e-05/0.008738, allocations: 20 kB / 0.5238 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.008845, allocations: 65.45 kB / 0.5238 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.008846, allocations: 0 / 0.5238 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001863/0.009033, allocations: 105.6 kB / 0.5239 GB, free: 13.93 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.009055, allocations: 11.94 kB / 0.5239 GB, free: 13.92 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.009063, allocations: 3.984 kB / 0.524 GB, free: 13.92 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.009084, allocations: 3.938 kB / 0.524 GB, free: 13.91 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.009201, allocations: 23.94 kB / 0.524 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.009217, allocations: 1.594 kB / 0.524 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.009246, allocations: 4 kB / 0.524 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.009257, allocations: 4 kB / 0.524 GB, free: 13.88 MB / 0.4949 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 (13): * Single equations (assignments): 13 * 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 0.0001283/0.009385, allocations: 165 kB / 0.5241 GB, free: 13.71 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.00942, allocations: 8 kB / 0.5242 GB, free: 13.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.009634, allocations: 109.3 kB / 0.5243 GB, free: 13.6 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.00964, allocations: 3.938 kB / 0.5243 GB, free: 13.59 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.009644, allocations: 4.938 kB / 0.5243 GB, free: 13.59 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.009651, allocations: 3.984 kB / 0.5243 GB, free: 13.59 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.01011, allocations: 345.4 kB / 0.5246 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01011, allocations: 1.031 kB / 0.5246 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.01023, allocations: 19.98 kB / 0.5246 GB, free: 13.19 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01024, allocations: 3.938 kB / 0.5246 GB, free: 13.18 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.01025, allocations: 12.66 kB / 0.5246 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01025, allocations: 0 / 0.5246 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01026, allocations: 2.75 kB / 0.5246 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.01059, allocations: 267.8 kB / 0.5249 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.01062, allocations: 7.984 kB / 0.5249 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01064, allocations: 7.938 kB / 0.5249 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.01071, allocations: 7.984 kB / 0.5249 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.01074, allocations: 4 kB / 0.5249 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.01075, allocations: 7.984 kB / 0.5249 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 7.561e-05/0.01083, allocations: 126.1 kB / 0.525 GB, free: 12.73 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.01083, allocations: 0 / 0.525 GB, free: 12.73 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002716/0.0111, allocations: 39.94 kB / 0.5251 GB, free: 12.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002682/0.01137, allocations: 151 kB / 0.5252 GB, free: 12.54 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.01153, allocations: 63.67 kB / 0.5253 GB, free: 12.47 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01153, allocations: 0 / 0.5253 GB, free: 12.47 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.0116, allocations: 52.44 kB / 0.5253 GB, free: 12.42 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.01181, allocations: 7.984 kB / 0.5253 GB, free: 12.41 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.01221, allocations: 181.9 kB / 0.5255 GB, free: 12.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.956e-05/0.01229, allocations: 74.61 kB / 0.5256 GB, free: 12.11 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 4.971e-05/0.01234, allocations: 12 kB / 0.5256 GB, free: 12.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.01237, allocations: 16.5 kB / 0.5256 GB, free: 12.09 MB / 0.4949 GB Notification: Performance of SimCode: time 4.2e-07/0.01237, allocations: 0 / 0.5256 GB, free: 12.09 MB / 0.4949 GB Notification: Performance of Templates: time 0.004918/0.01729, allocations: 1.427 MB / 0.527 GB, free: 10.75 MB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0864196489565074]