Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001696/0.001696, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.002263/0.002263, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.495/1.495, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.19/1.19, allocations: 154.6 MB / 413.8 MB, free: 5.223 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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6187 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.692e-05, allocations: 4.812 kB / 0.6187 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00158/0.001607, allocations: 0.5797 MB / 0.6192 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006567/0.002263, allocations: 290.9 kB / 0.6195 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.002277, allocations: 3.938 kB / 0.6195 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.002294, allocations: 0 / 0.6195 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-06/0.002299, allocations: 4 kB / 0.6195 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.002749, allocations: 107.6 kB / 0.6196 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.543e-05/0.002785, allocations: 0 / 0.6196 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.002823, allocations: 4 kB / 0.6196 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.002849, allocations: 7.984 kB / 0.6196 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.449e-05/0.002873, allocations: 4 kB / 0.6196 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.002885, allocations: 0 / 0.6196 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004285/0.003313, allocations: 259.6 kB / 0.6199 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.003324, allocations: 4 kB / 0.6199 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.052e-05/0.003334, allocations: 0 / 0.6199 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.003544, allocations: 115.7 kB / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003545, allocations: 0 / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003546, allocations: 0 / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.00355, allocations: 0 / 0.62 GB, free: 3.129 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003208/0.003871, allocations: 258.2 kB / 0.6202 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.003906, allocations: 8.031 kB / 0.6202 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.003951, allocations: 8.875 kB / 0.6202 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.722e-05/0.004038, allocations: 101.8 kB / 0.6203 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.004048, allocations: 4.312 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.004063, allocations: 12.36 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.799e-05/0.004151, allocations: 34.2 kB / 0.6204 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004158, allocations: 192 / 0.6204 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.004164, allocations: 384 / 0.6204 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.004168, allocations: 384 / 0.6204 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.918e-05/0.004187, allocations: 3.938 kB / 0.6204 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.004317, allocations: 105.3 kB / 0.6205 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/0.004364, allocations: 18.52 kB / 0.6205 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.836e-05/0.004382, allocations: 8.953 kB / 0.6205 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.004718, allocations: 39.97 kB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.004755, allocations: 42.55 kB / 0.6206 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.004756, allocations: 0 / 0.6206 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.004892, allocations: 29.7 kB / 0.6206 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.004927, allocations: 51.41 kB / 0.6207 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.004975, allocations: 89.86 kB / 0.6208 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.004991, allocations: 29.7 kB / 0.6208 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.005037, allocations: 84.27 kB / 0.6209 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.005061, allocations: 0 / 0.6209 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.00509, allocations: 13.72 kB / 0.6209 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.005257, allocations: 318.8 kB / 0.6212 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.005266, allocations: 3.938 kB / 0.6212 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-06/0.005273, allocations: 3.984 kB / 0.6212 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/0.005301, allocations: 8.859 kB / 0.6212 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005303, allocations: 0 / 0.6212 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.141e-05/0.005374, allocations: 29.7 kB / 0.6212 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.005389, allocations: 12.09 kB / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.005392, allocations: 0 / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.005404, allocations: 0 / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.612e-05/0.00544, allocations: 0 / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.005444, allocations: 0 / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.005456, allocations: 7.938 kB / 0.6213 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.005461, allocations: 7.875 kB / 0.6213 GB, free: 1.645 MB / 0.5294 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 (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 9.948e-05/0.00556, allocations: 114.8 kB / 0.6214 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.005579, allocations: 0 / 0.6214 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.929e-05/0.005668, allocations: 40.7 kB / 0.6214 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.005669, allocations: 0 / 0.6214 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.005673, allocations: 0 / 0.6214 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.005675, allocations: 0 / 0.6214 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.844e-05/0.005763, allocations: 101.2 kB / 0.6215 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.005764, allocations: 0 / 0.6215 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/0.005775, allocations: 4 kB / 0.6215 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.005781, allocations: 4 kB / 0.6215 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.005788, allocations: 4 kB / 0.6215 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005789, allocations: 3.938 kB / 0.6215 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.00579, allocations: 0 / 0.6215 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.852e-05/0.005878, allocations: 69.03 kB / 0.6216 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.005884, allocations: 4 kB / 0.6216 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.005892, allocations: 0 / 0.6216 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.005899, allocations: 0 / 0.6216 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.005913, allocations: 0 / 0.6216 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.005914, allocations: 0 / 0.6216 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.365e-05/0.005948, allocations: 75.28 kB / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.005948, allocations: 0 / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002122/0.00616, allocations: 15.94 kB / 0.6217 GB, free: 1.156 MB / 0.5294 GB 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.0001694/0.00633, allocations: 119.2 kB / 0.6218 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.98e-05/0.006389, allocations: 4 kB / 0.6218 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.006391, allocations: 0 / 0.6218 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-06/0.0064, allocations: 3.938 kB / 0.6218 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.006522, allocations: 4 kB / 0.6218 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.006708, allocations: 80.84 kB / 0.6219 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.183e-05/0.00676, allocations: 55.36 kB / 0.6219 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.324e-05/0.006773, allocations: 0 / 0.6219 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.006791, allocations: 16.62 kB / 0.622 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.006792, allocations: 0 / 0.622 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of Templates: time 0.002723/0.009515, allocations: 479.8 kB / 0.6224 GB, free: 368 kB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.782377269119024] Failed to read output from testmodel.py, exit status != 0: 0.01794864609837532 0.032988755 0.026376813000000002 Calling exit ...