Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04091/0.04091, allocations: 9.133 MB / 28.99 MB, free: 0.8164 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008058/0.0008058, allocations: 87.27 kB / 35.33 MB, free: 1.078 MB / 24.77 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.0009297/0.0009297, allocations: 163.6 kB / 38.73 MB, free: 2.5 MB / 24.77 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.9311/0.9311, allocations: 177.1 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004129/0.004129, allocations: 0.8217 MB / 276.5 MB, free: 0.7344 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.617/1.617, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.092e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001649/0.001669, allocations: 0.6266 MB / 0.6385 GB, free: 13.42 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0005773/0.002247, allocations: 310.8 kB / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.002264, allocations: 8 kB / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.002277, allocations: 3.938 kB / 0.6388 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 1.492e-05/0.002292, allocations: 0 / 0.6388 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.002677, allocations: 111.4 kB / 0.6389 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 3.875e-05/0.002716, allocations: 15.98 kB / 0.639 GB, free: 12.98 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.008e-05/0.002746, allocations: 4 kB / 0.639 GB, free: 12.97 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.002774, allocations: 7.984 kB / 0.639 GB, free: 12.96 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.002815, allocations: 3.984 kB / 0.639 GB, free: 12.96 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.002826, allocations: 8 kB / 0.639 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.003166, allocations: 251.7 kB / 0.6392 GB, free: 12.71 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.003178, allocations: 4 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.024e-05/0.003188, allocations: 0 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.003368, allocations: 131.5 kB / 0.6394 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00337, allocations: 0 / 0.6394 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.01e-07/0.00337, allocations: 0 / 0.6394 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.003373, allocations: 0 / 0.6394 GB, free: 12.57 MB / 0.6043 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.0002529/0.003626, allocations: 244.5 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.003658, allocations: 11.98 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.003717, allocations: 4.938 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.855e-05/0.003796, allocations: 113.8 kB / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.003805, allocations: 384 / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.003822, allocations: 4.375 kB / 0.6397 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.119e-05/0.003894, allocations: 59.95 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.0039, allocations: 192 / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.003906, allocations: 384 / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.003911, allocations: 384 / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.528e-05/0.003926, allocations: 11.86 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.663e-05/0.004013, allocations: 61.05 kB / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.783e-05/0.004051, allocations: 22.61 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.127e-05/0.004062, allocations: 8.922 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003559/0.004418, allocations: 67.94 kB / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.004443, allocations: 34.56 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.004445, allocations: 4 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.000389/0.004834, allocations: 181.6 kB / 0.6401 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.004864, allocations: 51.41 kB / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.402e-05/0.004918, allocations: 106.6 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.004929, allocations: 29.64 kB / 0.6403 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.415e-05/0.004953, allocations: 80.14 kB / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.004973, allocations: 11.94 kB / 0.6404 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.005002, allocations: 18.06 kB / 0.6404 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.005093, allocations: 322.8 kB / 0.6407 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.005101, allocations: 0 / 0.6407 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.005119, allocations: 13.72 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.005154, allocations: 25.69 kB / 0.6408 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.005155, allocations: 0 / 0.6408 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.161e-05/0.005236, allocations: 41.64 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.005248, allocations: 8 kB / 0.6408 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.005253, allocations: 4.047 kB / 0.6408 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.005265, allocations: 4 kB / 0.6408 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.005314, allocations: 8 kB / 0.6408 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.00532, allocations: 7.984 kB / 0.6408 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.005336, allocations: 4 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.005344, allocations: 3.938 kB / 0.6409 GB, free: 10.84 MB / 0.6043 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 5.718e-05/0.005401, allocations: 113.8 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.005422, allocations: 0 / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.958e-05/0.005512, allocations: 53.3 kB / 0.641 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.005513, allocations: 4 kB / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.005515, allocations: 0 / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.005517, allocations: 4 kB / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.951e-05/0.005587, allocations: 65.84 kB / 0.6411 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005588, allocations: 0 / 0.6411 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.005629, allocations: 7.984 kB / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.00563, allocations: 0 / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.005634, allocations: 0 / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005635, allocations: 0 / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005636, allocations: 0 / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.005736, allocations: 81.14 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.303e-06/0.005744, allocations: 8.062 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.005752, allocations: 0 / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.005774, allocations: 3.984 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.005785, allocations: 4 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.00579, allocations: 0 / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 7.844e-06/0.005798, allocations: 8.797 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.005798, allocations: 0 / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002046/0.006002, allocations: 27.94 kB / 0.6412 GB, free: 10.41 MB / 0.6043 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.000153/0.006155, allocations: 112.4 kB / 0.6413 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.202e-05/0.006217, allocations: 20.8 kB / 0.6413 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.006222, allocations: 4 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.006235, allocations: 12.84 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.856e-05/0.006294, allocations: 7.938 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.006474, allocations: 100.8 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.03e-05/0.006504, allocations: 59.22 kB / 0.6415 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.006532, allocations: 0 / 0.6415 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.006578, allocations: 63.48 kB / 0.6416 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of SimCode: time 5.61e-07/0.006579, allocations: 0 / 0.6416 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of Templates: time 0.002958/0.009536, allocations: 1.028 MB / 0.6426 GB, free: 8.941 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.332552764099091]