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.0008468/0.0008468, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0009583/0.0009583, allocations: 177.9 kB / 23.21 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.8892/0.8892, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.7304/0.7304, allocations: 154.5 MB / 414.5 MB, free: 0.8398 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.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 2.013e-06/2.013e-06, allocations: 0 / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.807e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001265/0.001293, allocations: 0.6245 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008158/0.002109, allocations: 314.8 kB / 0.6203 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.002136, allocations: 0 / 0.6203 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.002152, allocations: 0 / 0.6203 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.123e-05/0.002183, allocations: 3.938 kB / 0.6203 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.002652, allocations: 123.6 kB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.049e-05/0.002723, allocations: 19.92 kB / 0.6204 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.002771, allocations: 11.97 kB / 0.6204 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.002832, allocations: 11.98 kB / 0.6204 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.002888, allocations: 7.938 kB / 0.6204 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.002907, allocations: 4 kB / 0.6204 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.003204, allocations: 267.6 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.003224, allocations: 0 / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.003244, allocations: 4 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.003453, allocations: 143.6 kB / 0.6208 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003455, allocations: 3.938 kB / 0.6208 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003457, allocations: 0 / 0.6208 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.003461, allocations: 0 / 0.6208 GB, free: 11.58 MB / 0.5886 GB 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.0004059/0.003867, allocations: 286 kB / 0.6211 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.003911, allocations: 9.469 kB / 0.6211 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.003977, allocations: 8.891 kB / 0.6211 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.842e-05/0.004066, allocations: 109.8 kB / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.004078, allocations: 384 / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.004103, allocations: 4.375 kB / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.004239, allocations: 101.7 kB / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.00425, allocations: 4.188 kB / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.004261, allocations: 384 / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004267, allocations: 4.359 kB / 0.6213 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.654e-05/0.004314, allocations: 19.94 kB / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.004445, allocations: 117.2 kB / 0.6215 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.094e-05/0.004536, allocations: 54.56 kB / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.004571, allocations: 28.84 kB / 0.6215 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.00492, allocations: 79.92 kB / 0.6216 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.004945, allocations: 38.55 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.004946, allocations: 0 / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.000902/0.005848, allocations: 455.5 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.005881, allocations: 55.41 kB / 0.6221 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.005937, allocations: 97.84 kB / 0.6222 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.005957, allocations: 29.7 kB / 0.6223 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.005982, allocations: 80.14 kB / 0.6223 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.006021, allocations: 43.62 kB / 0.6224 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.006057, allocations: 29.66 kB / 0.6224 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.006142, allocations: 322.8 kB / 0.6227 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.006173, allocations: 23.92 kB / 0.6227 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.006201, allocations: 19.25 kB / 0.6228 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.235e-05/0.006274, allocations: 56.84 kB / 0.6228 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.006275, allocations: 4 kB / 0.6228 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000118/0.006393, allocations: 101.7 kB / 0.6229 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.006408, allocations: 7.938 kB / 0.6229 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.006414, allocations: 0 / 0.6229 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.006428, allocations: 3.938 kB / 0.6229 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.006513, allocations: 27.92 kB / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.006518, allocations: 0 / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.329e-05/0.006532, allocations: 0 / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.00654, allocations: 8 kB / 0.623 GB, free: 9.164 MB / 0.5886 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 6.455e-05/0.006604, allocations: 118.8 kB / 0.6231 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.006621, allocations: 8 kB / 0.6231 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.006759, allocations: 108.7 kB / 0.6232 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.006761, allocations: 3.938 kB / 0.6232 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.006765, allocations: 0 / 0.6232 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006769, allocations: 4 kB / 0.6232 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.007056, allocations: 290.2 kB / 0.6235 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007058, allocations: 0 / 0.6235 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-05/0.007129, allocations: 19.94 kB / 0.6235 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.007134, allocations: 7.938 kB / 0.6235 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.007143, allocations: 4 kB / 0.6235 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.007147, allocations: 11.98 kB / 0.6235 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007148, allocations: 0 / 0.6235 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.007336, allocations: 211.5 kB / 0.6237 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.007361, allocations: 11.97 kB / 0.6237 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.007374, allocations: 3.938 kB / 0.6237 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.007421, allocations: 8 kB / 0.6237 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.007439, allocations: 7.984 kB / 0.6237 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.007444, allocations: 0 / 0.6237 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.007468, allocations: 79.28 kB / 0.6238 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007468, allocations: 0 / 0.6238 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001991/0.007667, allocations: 43.92 kB / 0.6239 GB, free: 8.172 MB / 0.5886 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.0002064/0.007874, allocations: 155.1 kB / 0.624 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.007998, allocations: 62.91 kB / 0.6241 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.008, allocations: 0 / 0.6241 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.008031, allocations: 31.92 kB / 0.6241 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.008192, allocations: 8 kB / 0.6241 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.008522, allocations: 186.5 kB / 0.6243 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.226e-05/0.008574, allocations: 71.33 kB / 0.6244 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.008602, allocations: 24.44 kB / 0.6244 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.008602, allocations: 0 / 0.6244 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of Templates: time 0.002358/0.01096, allocations: 1.239 MB / 0.6256 GB, free: 6.344 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.095154954120517] Failed to read output from testmodel.py, exit status != 0: 0.017486819066107273 0.026739951 0.021525257000000002 Calling exit ...