Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008785/0.0008785, 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.001694/0.001694, allocations: 165.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.9708/0.9708, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7485/0.7485, allocations: 154.6 MB / 413.7 MB, free: 0.8477 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.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.209e-05, allocations: 3.75 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001477/0.001499, allocations: 0.6002 MB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005994/0.002099, allocations: 290.9 kB / 0.619 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.002119, allocations: 0 / 0.619 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.002139, allocations: 0 / 0.619 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-06/0.002148, allocations: 0 / 0.619 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.002665, allocations: 111.6 kB / 0.6191 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.15e-05/0.002727, allocations: 0 / 0.6191 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.822e-05/0.002785, allocations: 0 / 0.6191 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.002824, allocations: 7.984 kB / 0.6191 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.301e-05/0.002857, allocations: 4 kB / 0.6191 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.002877, allocations: 3.938 kB / 0.6191 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.003235, allocations: 255.6 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.003253, allocations: 0 / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.003275, allocations: 0 / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.003478, allocations: 115.7 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.003481, allocations: 0 / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.573e-06/0.003483, allocations: 0 / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.003488, allocations: 0 / 0.6194 GB, free: 12.34 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002764/0.003765, allocations: 258.2 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.003813, allocations: 13.47 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.003849, allocations: 42.73 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.003902, allocations: 0.9375 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.309e-05/0.003965, allocations: 101.8 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.003975, allocations: 384 / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.003984, allocations: 4.375 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.475e-05/0.004079, allocations: 30.2 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.004086, allocations: 192 / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.004095, allocations: 384 / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.004107, allocations: 4.125 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.741e-05/0.004134, allocations: 7.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.004245, allocations: 120.8 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.004287, allocations: 26.59 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.004303, allocations: 4.859 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.004623, allocations: 47.97 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.004645, allocations: 30.56 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.004646, allocations: 0 / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001687/0.004815, allocations: 41.62 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003774/0.005192, allocations: 59.34 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.836e-05/0.005221, allocations: 93.86 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.005231, allocations: 25.7 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.011e-05/0.005251, allocations: 84.08 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.005281, allocations: 0 / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.005305, allocations: 13.72 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.005389, allocations: 310.8 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.005402, allocations: 0 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-06/0.005408, allocations: 0 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.005443, allocations: 21.03 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.005446, allocations: 0 / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.385e-05/0.00551, allocations: 37.64 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.005526, allocations: 4 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.005533, allocations: 0 / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.005547, allocations: 0 / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.005604, allocations: 4 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.005612, allocations: 3.938 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-06/0.00562, allocations: 0 / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.005626, allocations: 0 / 0.6208 GB, free: 10.78 MB / 0.5886 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 6.427e-05/0.005691, allocations: 114.4 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.005704, allocations: 7.984 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.005804, allocations: 36.7 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005806, allocations: 3.938 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.005812, allocations: 7.875 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.005816, allocations: 0 / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.96e-05/0.005885, allocations: 124.7 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.005888, allocations: 4 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.005901, allocations: 0 / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.005903, allocations: 32 / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.00591, allocations: 8 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.005912, allocations: 0 / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.005914, allocations: 3.938 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.253e-05/0.005976, allocations: 61.12 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-06/0.005981, allocations: 0 / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.00599, allocations: 0 / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-06/0.005994, allocations: 0 / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.006007, allocations: 3.938 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.00601, allocations: 4 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.179e-05/0.006032, allocations: 75.28 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006032, allocations: 4.031 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001353/0.006167, allocations: 8 kB / 0.6212 GB, free: 10.25 MB / 0.5886 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.0003264/0.006493, allocations: 0.6046 MB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.083e-05/0.006564, allocations: 7.984 kB / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006566, allocations: 0 / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-06/0.006572, allocations: 7.938 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.006678, allocations: 11.06 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.006948, allocations: 106.8 kB / 0.6219 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.006986, allocations: 59.34 kB / 0.622 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.007004, allocations: 0 / 0.622 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.007025, allocations: 8.5 kB / 0.622 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of SimCode: time 7.12e-07/0.007026, allocations: 4 kB / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.02588, allocations: 1.827 MB / 0.6238 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/6.908, allocations: 6.609 kB / 0.6238 GB, free: 7.656 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.84829224087298] Failed to read output from testmodel.py, exit status != 0: 6.994302656501532 7.003892981 6.998527153 Calling exit ...