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.001309/0.001309, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001396/0.001396, allocations: 161.3 kB / 23.01 MB, free: 4.605 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.389/1.389, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7938/0.7938, allocations: 101.3 MB / 361.1 MB, free: 9.574 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 68.98 kB / 0.5357 GB, free: 5.387 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1395, allocations: 85.88 MB / 0.6195 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001804/0.1413, allocations: 0.5914 MB / 0.6201 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006673/0.1419, allocations: 307.3 kB / 0.6204 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.142, allocations: 3.938 kB / 0.6204 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.142, allocations: 4 kB / 0.6204 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 1.439e-05/0.142, allocations: 0 / 0.6204 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1424, allocations: 118.5 kB / 0.6205 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.315e-05/0.1425, allocations: 4 kB / 0.6205 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.1425, allocations: 7.984 kB / 0.6205 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.1425, allocations: 4 kB / 0.6205 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.1426, allocations: 0 / 0.6205 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1426, allocations: 0 / 0.6205 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.143, allocations: 259.6 kB / 0.6208 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.143, allocations: 7.922 kB / 0.6208 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.143, allocations: 11.98 kB / 0.6208 GB, free: 376 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1432, allocations: 87.73 kB / 0.6209 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1432, allocations: 0 / 0.6209 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1432, allocations: 0 / 0.6209 GB, free: 288 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.1432, allocations: 0 / 0.6209 GB, free: 288 kB / 0.5137 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.0003618/0.1436, allocations: 278.1 kB / 0.6212 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1436, allocations: 8.031 kB / 0.6212 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.1437, allocations: 0.9375 kB / 0.6212 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1438, allocations: 114.5 kB / 0.6213 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.1438, allocations: 384 / 0.6213 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1438, allocations: 4.312 kB / 0.6213 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1439, allocations: 55.97 kB / 0.6213 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1439, allocations: 192 / 0.6213 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1439, allocations: 11.94 kB / 0.6213 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.144, allocations: 4 kB / 0.6213 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.144, allocations: 4 kB / 0.6214 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.1441, allocations: 101.3 kB / 0.6214 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.1442, allocations: 22.61 kB / 0.6215 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.1442, allocations: 12.86 kB / 0.6215 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005404/0.1447, allocations: 75.91 kB / 0.6216 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1448, allocations: 38.56 kB / 0.6216 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1448, allocations: 0 / 0.6216 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004567/0.1452, allocations: 173.2 kB / 0.6218 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1453, allocations: 51.41 kB / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.1453, allocations: 97.86 kB / 0.6219 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1453, allocations: 26.05 kB / 0.6219 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.1454, allocations: 88.12 kB / 0.622 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.1454, allocations: 11.91 kB / 0.622 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.1454, allocations: 25.7 kB / 0.622 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1456, allocations: 310.8 kB / 0.6223 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.1456, allocations: 8 kB / 0.6223 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.1456, allocations: 21.73 kB / 0.6224 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/0.1457, allocations: 29.66 kB / 0.6224 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1457, allocations: 0 / 0.6224 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001146/0.1458, allocations: 57.72 kB / 0.6225 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1458, allocations: 4 kB / 0.6225 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1458, allocations: 7.875 kB / 0.6225 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1458, allocations: 7.938 kB / 0.6225 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.1459, allocations: 4 kB / 0.6225 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1459, allocations: 3.938 kB / 0.6225 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.1459, allocations: 4 kB / 0.6225 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.1459, allocations: 0 / 0.6225 GB, free: 14.43 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 7.698e-05/0.146, allocations: 110.9 kB / 0.6226 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.146, allocations: 0 / 0.6226 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.1461, allocations: 65.33 kB / 0.6227 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1462, allocations: 3.938 kB / 0.6227 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1462, allocations: 0 / 0.6227 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1462, allocations: 0 / 0.6227 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.346e-05/0.1462, allocations: 97.33 kB / 0.6227 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1463, allocations: 0 / 0.6227 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.1463, allocations: 11.98 kB / 0.6228 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1463, allocations: 0 / 0.6228 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1463, allocations: 4 kB / 0.6228 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1463, allocations: 3.938 kB / 0.6228 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1463, allocations: 4 kB / 0.6228 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.1465, allocations: 73.12 kB / 0.6228 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.1465, allocations: 7.953 kB / 0.6228 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1465, allocations: 8 kB / 0.6229 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.48e-05/0.1465, allocations: 11.95 kB / 0.6229 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.1466, allocations: 0 / 0.6229 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1466, allocations: 0 / 0.6229 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.1466, allocations: 83.22 kB / 0.6229 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1466, allocations: 0 / 0.6229 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002184/0.1468, allocations: 19.94 kB / 0.623 GB, free: 13.88 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.0001876/0.147, allocations: 127.3 kB / 0.6231 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.217e-05/0.1471, allocations: 15.98 kB / 0.6231 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1471, allocations: 0 / 0.6231 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.1471, allocations: 11.94 kB / 0.6231 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1472, allocations: 6.188 kB / 0.6231 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.1475, allocations: 113.4 kB / 0.6232 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.907e-05/0.1475, allocations: 67.28 kB / 0.6233 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.1476, allocations: 4.125 kB / 0.6233 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.1476, allocations: 12.5 kB / 0.6233 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1476, allocations: 0 / 0.6233 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.003306/0.1509, allocations: 0.8681 MB / 0.6242 GB, free: 12.61 MB / 0.5294 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.957568553974852] Failed to read output from testmodel.py, exit status != 0: 0.15863233397249132 0.17403292399999995 0.027701647000000003 Calling exit ...