Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001432/0.001432, allocations: 81.34 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001988/0.001988, allocations: 170.1 kB / 22.47 MB, free: 5.352 MB / 14.72 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.187/1.187, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.209e-05, allocations: 4.812 kB / 0.6187 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001537/0.001569, allocations: 0.6001 MB / 0.6192 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006826/0.002251, allocations: 310.8 kB / 0.6195 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.002283, allocations: 0 / 0.6195 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.0023, allocations: 3.938 kB / 0.6195 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.76e-05/0.002318, allocations: 0 / 0.6195 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.002795, allocations: 115.5 kB / 0.6196 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.002849, allocations: 15.98 kB / 0.6197 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.0029, allocations: 4 kB / 0.6197 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/0.002931, allocations: 4 kB / 0.6197 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.002983, allocations: 3.938 kB / 0.6197 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.002998, allocations: 0 / 0.6197 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.003402, allocations: 263.6 kB / 0.6199 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.003418, allocations: 0 / 0.6199 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.003437, allocations: 7.938 kB / 0.6199 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.003685, allocations: 123.7 kB / 0.6201 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.003687, allocations: 0 / 0.6201 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003688, allocations: 0 / 0.6201 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.003697, allocations: 4 kB / 0.6201 GB, free: 3.062 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004002/0.004097, allocations: 266.2 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.004131, allocations: 8.031 kB / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.004185, allocations: 4.938 kB / 0.6203 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.004305, allocations: 105.7 kB / 0.6204 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.004315, allocations: 8.375 kB / 0.6204 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.004338, allocations: 4.312 kB / 0.6204 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.004448, allocations: 63.95 kB / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.004456, allocations: 192 / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.004465, allocations: 384 / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.004469, allocations: 4.375 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.004493, allocations: 7.938 kB / 0.6205 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.004642, allocations: 105.3 kB / 0.6206 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.055e-05/0.004703, allocations: 22.59 kB / 0.6206 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.004719, allocations: 4.922 kB / 0.6206 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/0.005288, allocations: 79.92 kB / 0.6207 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.005323, allocations: 34.55 kB / 0.6207 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.005324, allocations: 0 / 0.6207 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005474/0.005872, allocations: 177.2 kB / 0.6209 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.00591, allocations: 51.41 kB / 0.621 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.005996, allocations: 98.11 kB / 0.6211 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.006018, allocations: 29.73 kB / 0.6211 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.00606, allocations: 80.14 kB / 0.6212 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.006088, allocations: 15.91 kB / 0.6212 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.006125, allocations: 17.7 kB / 0.6212 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.006281, allocations: 314.8 kB / 0.6215 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.006305, allocations: 7.938 kB / 0.6215 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.006342, allocations: 21.66 kB / 0.6215 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.714e-05/0.006399, allocations: 29.7 kB / 0.6215 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.0064, allocations: 0 / 0.6215 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.006503, allocations: 53.64 kB / 0.6216 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.006517, allocations: 4 kB / 0.6216 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.006522, allocations: 0 / 0.6216 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.006539, allocations: 3.984 kB / 0.6216 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.006599, allocations: 8 kB / 0.6216 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.006607, allocations: 3.938 kB / 0.6216 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.006625, allocations: 0 / 0.6216 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.006634, allocations: 4 kB / 0.6216 GB, free: 1.238 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.717e-05/0.006721, allocations: 110.8 kB / 0.6217 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.006746, allocations: 4.062 kB / 0.6217 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.006886, allocations: 69.36 kB / 0.6218 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.006887, allocations: 0 / 0.6218 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006891, allocations: 0 / 0.6218 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.006896, allocations: 3.938 kB / 0.6218 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.006996, allocations: 101.3 kB / 0.6219 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.006997, allocations: 0 / 0.6219 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.007053, allocations: 7.984 kB / 0.6219 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.007056, allocations: 4 kB / 0.6219 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.007063, allocations: 0 / 0.6219 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.007066, allocations: 8 kB / 0.6219 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007066, allocations: 0 / 0.6219 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.007237, allocations: 84.98 kB / 0.622 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.007244, allocations: 4 kB / 0.622 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.007255, allocations: 0 / 0.622 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.007293, allocations: 0 / 0.622 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.007312, allocations: 7.984 kB / 0.622 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.007316, allocations: 0 / 0.622 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.524e-05/0.007381, allocations: 83.22 kB / 0.6221 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.007381, allocations: 0 / 0.6221 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002142/0.007596, allocations: 24.09 kB / 0.6221 GB, free: 0.668 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002129/0.007808, allocations: 131.2 kB / 0.6222 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.153e-05/0.0079, allocations: 15.98 kB / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007902, allocations: 3.938 kB / 0.6223 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.007919, allocations: 8 kB / 0.6223 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.008062, allocations: 4 kB / 0.6223 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.008333, allocations: 104.8 kB / 0.6224 GB, free: 376 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.945e-05/0.008382, allocations: 59.34 kB / 0.6224 GB, free: 296 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.726e-05/0.008409, allocations: 12.06 kB / 0.6224 GB, free: 284 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.008428, allocations: 8.5 kB / 0.6224 GB, free: 276 kB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.008428, allocations: 0 / 0.6224 GB, free: 276 kB / 0.5294 GB Notification: Performance of Templates: time 0.003597/0.01202, allocations: 0.8881 MB / 0.6233 GB, free: 15.4 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.731563530862331] Failed to read output from testmodel.py, exit status != 0: 0.02066493034362793 0.035282508000000004 0.028583062000000003 Calling exit ...