Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001716/0.001716, allocations: 82.25 kB / 19.18 MB, free: 2.516 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.001583/0.001583, allocations: 168.1 kB / 22.46 MB, free: 5.379 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.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.208/1.208, 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.6186 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.529e-05/3.738e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001861/0.001899, allocations: 0.6244 MB / 0.6193 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008119/0.002711, allocations: 322.8 kB / 0.6196 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.002752, allocations: 0 / 0.6196 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.00277, allocations: 7.938 kB / 0.6196 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.223e-05/0.002802, allocations: 0 / 0.6196 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.003412, allocations: 123.5 kB / 0.6197 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.843e-05/0.003481, allocations: 19.92 kB / 0.6197 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.003525, allocations: 11.97 kB / 0.6197 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.27e-05/0.003588, allocations: 19.92 kB / 0.6197 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.584e-05/0.003644, allocations: 0 / 0.6197 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.003664, allocations: 4 kB / 0.6197 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.004094, allocations: 263.6 kB / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.004117, allocations: 7.938 kB / 0.62 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.004139, allocations: 4 kB / 0.62 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.004411, allocations: 135.6 kB / 0.6201 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.004416, allocations: 4 kB / 0.6201 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004417, allocations: 0 / 0.6201 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.004422, allocations: 0 / 0.6201 GB, free: 2.945 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004681/0.00489, allocations: 290 kB / 0.6204 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.004931, allocations: 8.031 kB / 0.6204 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.005003, allocations: 8.891 kB / 0.6204 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.005134, allocations: 109.8 kB / 0.6205 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.005153, allocations: 4.375 kB / 0.6205 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.005179, allocations: 4.375 kB / 0.6205 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.005343, allocations: 101.7 kB / 0.6206 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.005357, allocations: 192 / 0.6206 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.005368, allocations: 384 / 0.6206 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.005373, allocations: 4.312 kB / 0.6206 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.472e-05/0.005438, allocations: 23.92 kB / 0.6207 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.005607, allocations: 109.3 kB / 0.6208 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.005725, allocations: 54.56 kB / 0.6208 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.00578, allocations: 32.84 kB / 0.6209 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005748/0.006355, allocations: 71.92 kB / 0.6209 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.006389, allocations: 34.56 kB / 0.621 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.00639, allocations: 7.875 kB / 0.621 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001428/0.007818, allocations: 454.6 kB / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.007867, allocations: 55.41 kB / 0.6215 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.007958, allocations: 101.8 kB / 0.6216 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.007979, allocations: 25.7 kB / 0.6216 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.008022, allocations: 88.08 kB / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.008079, allocations: 43.62 kB / 0.6217 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.008127, allocations: 25.72 kB / 0.6217 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.008267, allocations: 322.8 kB / 0.622 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.008311, allocations: 20 kB / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-05/0.008355, allocations: 27.61 kB / 0.6221 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.00846, allocations: 56.84 kB / 0.6221 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.00846, allocations: 0 / 0.6221 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001708/0.008631, allocations: 101.6 kB / 0.6222 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.008648, allocations: 4 kB / 0.6222 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.008653, allocations: 0 / 0.6222 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.008672, allocations: 3.938 kB / 0.6222 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.008783, allocations: 27.92 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.00879, allocations: 3.984 kB / 0.6223 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.008814, allocations: 4 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.008823, allocations: 4 kB / 0.6223 GB, free: 0.5273 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 (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 9.594e-05/0.008919, allocations: 114.8 kB / 0.6224 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.008958, allocations: 15.89 kB / 0.6224 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.009163, allocations: 97.78 kB / 0.6225 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.009167, allocations: 3.938 kB / 0.6225 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.009171, allocations: 4 kB / 0.6225 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009175, allocations: 0 / 0.6225 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.009597, allocations: 294.2 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.009599, allocations: 7.938 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.009709, allocations: 16 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.009716, allocations: 7.938 kB / 0.6228 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.009727, allocations: 4 kB / 0.6228 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.00973, allocations: 3.984 kB / 0.6228 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.009732, allocations: 0 / 0.6228 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.01005, allocations: 215.4 kB / 0.623 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.01008, allocations: 15.97 kB / 0.623 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.0101, allocations: 3.938 kB / 0.623 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.01019, allocations: 8 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.01021, allocations: 7.984 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.01022, allocations: 4.062 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.01026, allocations: 83.45 kB / 0.6231 GB, free: 15.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01026, allocations: 0 / 0.6231 GB, free: 15.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002966/0.01056, allocations: 47.86 kB / 0.6232 GB, free: 15.52 MB / 0.545 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.0002732/0.01083, allocations: 143.2 kB / 0.6233 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.01105, allocations: 59.91 kB / 0.6234 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01106, allocations: 0 / 0.6234 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.01112, allocations: 31.81 kB / 0.6234 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.01135, allocations: 8 kB / 0.6234 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.01197, allocations: 188.5 kB / 0.6236 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.01209, allocations: 71.33 kB / 0.6237 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.614e-05/0.01216, allocations: 8 kB / 0.6237 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.0122, allocations: 12.5 kB / 0.6237 GB, free: 14.96 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.0122, allocations: 0 / 0.6237 GB, free: 14.96 MB / 0.545 GB Notification: Performance of Templates: time 0.006815/0.01902, allocations: 1.394 MB / 0.625 GB, free: 13.59 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.810222651809454] Failed to read output from testmodel.py, exit status != 0: 0.02866269275546074 0.044786333000000005 0.036720124 Calling exit ...