Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008455/0.0008455, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009122/0.0009122, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9888/0.9888, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7741/0.7741, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/2.057e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001141/0.001162, allocations: 0.606 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004917/0.001653, allocations: 318.8 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.001677, allocations: 0 / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.001692, allocations: 0 / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.149e-05/0.001713, allocations: 0 / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.002114, allocations: 119.5 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.079e-05/0.002165, allocations: 4 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.002206, allocations: 0 / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.002241, allocations: 11.98 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.002306, allocations: 7.984 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.00232, allocations: 0 / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.002579, allocations: 259.6 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.002592, allocations: 0 / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.002609, allocations: 8 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.002771, allocations: 115.7 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.002776, allocations: 8 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.51e-07/0.002777, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.00278, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 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.0002874/0.003068, allocations: 266.1 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.003109, allocations: 9.469 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.003139, allocations: 34.75 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.003188, allocations: 4.938 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.003274, allocations: 101.8 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.003284, allocations: 4.375 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.003305, allocations: 4.375 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.624e-05/0.003401, allocations: 67.89 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.003408, allocations: 192 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.003416, allocations: 384 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.003422, allocations: 4.125 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.003439, allocations: 4 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.00356, allocations: 120.7 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.003606, allocations: 26.59 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.003621, allocations: 4.859 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/0.003992, allocations: 83.98 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.004018, allocations: 34.5 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004019, allocations: 0 / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004781/0.004497, allocations: 177.2 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.004532, allocations: 51.41 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.004603, allocations: 101.8 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.004616, allocations: 33.58 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.004644, allocations: 80.14 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.004671, allocations: 19.84 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.004699, allocations: 13.72 kB / 0.6207 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.00479, allocations: 318.8 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.004803, allocations: 4.344 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.315e-05/0.004826, allocations: 17.72 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.004868, allocations: 33.64 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.004869, allocations: 0 / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.578e-05/0.004955, allocations: 49.7 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.004972, allocations: 6.031 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.004978, allocations: 0 / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.004992, allocations: 3.938 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.005044, allocations: 11.98 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.00505, allocations: 8 kB / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.005062, allocations: 0 / 0.6211 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.005074, allocations: 4.141 kB / 0.6211 GB, free: 10.31 MB / 0.5886 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.321e-05/0.005147, allocations: 106.8 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.005162, allocations: 7.984 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.005265, allocations: 57.36 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005268, allocations: 3.938 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.005273, allocations: 0 / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.005277, allocations: 0 / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.409e-05/0.005361, allocations: 128.8 kB / 0.6214 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.005364, allocations: 4 kB / 0.6214 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.005403, allocations: 7.984 kB / 0.6214 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.005405, allocations: 4 kB / 0.6214 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.005413, allocations: 0 / 0.6214 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.005415, allocations: 7.875 kB / 0.6215 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.005416, allocations: 0 / 0.6215 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.005526, allocations: 77.11 kB / 0.6215 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.005531, allocations: 0 / 0.6215 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.005541, allocations: 4 kB / 0.6215 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/0.005562, allocations: 4 kB / 0.6215 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.005578, allocations: 11.98 kB / 0.6215 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.005581, allocations: 0 / 0.6215 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.168e-05/0.005602, allocations: 83.22 kB / 0.6216 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005602, allocations: 0 / 0.6216 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000145/0.005747, allocations: 19.94 kB / 0.6216 GB, free: 9.707 MB / 0.5886 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.0003276/0.006075, allocations: 0.6397 MB / 0.6223 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.937e-05/0.006144, allocations: 16 kB / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006146, allocations: 288 / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.006158, allocations: 19.86 kB / 0.6223 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.006268, allocations: 16 kB / 0.6223 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/0.006939, allocations: 1.123 MB / 0.6234 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.006981, allocations: 63.34 kB / 0.6235 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.15e-05/0.007002, allocations: 0 / 0.6235 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.00703, allocations: 12.5 kB / 0.6235 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of SimCode: time 5.059e-06/0.007035, allocations: 4.062 kB / 0.6235 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.02373, allocations: 2.379 MB / 0.6258 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.056, allocations: 3.984 kB / 0.6258 GB, free: 5.473 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.06231655087322] Failed to read output from testmodel.py, exit status != 0: 7.137866137549281 7.150728458 7.146027159 Calling exit ...