Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00114/0.00114, 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.001186/0.001186, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.9691/0.9691, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7341/0.7341, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.127e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00127/0.001292, allocations: 0.6315 MB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000584/0.001876, allocations: 314.8 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.371e-05/0.001899, allocations: 0 / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.001916, allocations: 3.938 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.802e-05/0.001944, allocations: 3.938 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.002313, allocations: 119.6 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.001e-05/0.002373, allocations: 19.98 kB / 0.6192 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.002416, allocations: 8 kB / 0.6192 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.002472, allocations: 15.92 kB / 0.6192 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.002523, allocations: 11.97 kB / 0.6192 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.002545, allocations: 4 kB / 0.6192 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.002784, allocations: 259.6 kB / 0.6195 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.002799, allocations: 7.922 kB / 0.6195 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.00282, allocations: 15.92 kB / 0.6195 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.00299, allocations: 127.7 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.002993, allocations: 0 / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.312e-06/0.002995, allocations: 0 / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.002999, allocations: 0 / 0.6196 GB, free: 12.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003468/0.003346, allocations: 284.5 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.003388, allocations: 9.469 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.14e-05/0.003419, allocations: 38.75 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.003469, allocations: 4.891 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.251e-05/0.003552, allocations: 109.7 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.003563, allocations: 4.375 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.003584, allocations: 8.359 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.003703, allocations: 97.66 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.003713, allocations: 192 / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.003723, allocations: 8.312 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.003728, allocations: 8.125 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.003774, allocations: 23.92 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.003908, allocations: 136.7 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.627e-05/0.003995, allocations: 54.56 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.004028, allocations: 28.84 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.004374, allocations: 83.92 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.004395, allocations: 30.56 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.004396, allocations: 0 / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.000927/0.005323, allocations: 459.5 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.005351, allocations: 55.34 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.005401, allocations: 101.8 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.005412, allocations: 33.7 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.005442, allocations: 84.14 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.005473, allocations: 39.64 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.005507, allocations: 25.72 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.005576, allocations: 314.8 kB / 0.6215 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.005605, allocations: 20 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.005635, allocations: 27.48 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.77e-05/0.005703, allocations: 52.86 kB / 0.6216 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005704, allocations: 0 / 0.6216 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001136/0.005818, allocations: 105.6 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.005833, allocations: 15.94 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.005839, allocations: 0 / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.005852, allocations: 0 / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.005933, allocations: 19.98 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.00594, allocations: 4 kB / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.005953, allocations: 0 / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.00596, allocations: 0 / 0.6218 GB, free: 9.672 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 (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 6.065e-05/0.00602, allocations: 118.8 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.006038, allocations: 4 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.006181, allocations: 116.7 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006182, allocations: 4 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.006187, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.006191, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.006528, allocations: 329.4 kB / 0.6223 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.00653, allocations: 0 / 0.6223 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.006608, allocations: 20 kB / 0.6223 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.00661, allocations: 0 / 0.6223 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.006618, allocations: 8.078 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.006621, allocations: 3.938 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006623, allocations: 0 / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.00681, allocations: 211.5 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.006836, allocations: 16.03 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.006849, allocations: 4 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.784e-05/0.006897, allocations: 11.94 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.006914, allocations: 3.984 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.00692, allocations: 8 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.006946, allocations: 83.27 kB / 0.6227 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006946, allocations: 3.938 kB / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001995/0.007145, allocations: 39.94 kB / 0.6227 GB, free: 8.625 MB / 0.5886 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.0005118/0.007657, allocations: 0.7904 MB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.00779, allocations: 63.92 kB / 0.6236 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007792, allocations: 0 / 0.6236 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.00783, allocations: 38.98 kB / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.008012, allocations: 8 kB / 0.6236 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.009172, allocations: 1.389 MB / 0.625 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.00922, allocations: 72.27 kB / 0.625 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.009264, allocations: 8.062 kB / 0.625 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.009308, allocations: 20.5 kB / 0.6251 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of SimCode: time 8.91e-07/0.009309, allocations: 0 / 0.6251 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.02865, allocations: 3.126 MB / 0.6281 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/6.928, allocations: 10.75 kB / 0.6281 GB, free: 3.176 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_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_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.947732144035399] Failed to read output from testmodel.py, exit status != 0: 7.014231510460377 7.026308902 7.020809654 Calling exit ...