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.001161/0.001161, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009912/0.0009912, allocations: 218.3 kB / 22.25 MB, free: 3.699 MB / 13.93 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.9513/0.9513, allocations: 230.6 MB / 256 MB, free: 9.824 MB / 202.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.841/0.841, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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: 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.001042/0.001042, allocations: 67.25 kB / 0.7183 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.5847, allocations: 102 MB / 0.8179 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001414/0.5861, allocations: 0.6253 MB / 0.8185 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005624/0.5867, allocations: 350.8 kB / 0.8189 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.5867, allocations: 0 / 0.8189 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.5867, allocations: 4.531 kB / 0.8189 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.389e-05/0.5868, allocations: 0 / 0.8189 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.5872, allocations: 124.9 kB / 0.819 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.5873, allocations: 25.94 kB / 0.819 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.5873, allocations: 10.8 kB / 0.819 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.5874, allocations: 5.297 kB / 0.819 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.5874, allocations: 18.97 kB / 0.819 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.5875, allocations: 2.156 kB / 0.819 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.5878, allocations: 276.9 kB / 0.8193 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.5878, allocations: 12.7 kB / 0.8193 GB, free: 468 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.5878, allocations: 13.05 kB / 0.8193 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.588, allocations: 102.7 kB / 0.8194 GB, free: 428 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.588, allocations: 0 / 0.8194 GB, free: 428 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.615e-06/0.588, allocations: 0 / 0.8194 GB, free: 428 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.588, allocations: 0 / 0.8194 GB, free: 428 kB / 0.6042 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.0003562/0.5884, allocations: 289.1 kB / 0.8197 GB, free: 132 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5884, allocations: 9.547 kB / 0.8197 GB, free: 132 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.5885, allocations: 32.8 kB / 0.8197 GB, free: 92 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.5885, allocations: 7.641 kB / 0.8198 GB, free: 88 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.376e-05/0.5886, allocations: 114 kB / 0.8199 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.5886, allocations: 5.688 kB / 0.8199 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.5886, allocations: 4.891 kB / 0.8199 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.5888, allocations: 49.5 kB / 0.8199 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.5888, allocations: 9.953 kB / 0.8199 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5888, allocations: 4 kB / 0.8199 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.5888, allocations: 3.469 kB / 0.8199 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.5888, allocations: 19.83 kB / 0.82 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.5893, allocations: 142 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.5894, allocations: 57.11 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.5894, allocations: 24.69 kB / 0.8202 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/0.5898, allocations: 83.08 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.5898, allocations: 31.17 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.5898, allocations: 0 / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001037/0.5909, allocations: 458.9 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.5909, allocations: 55.52 kB / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.591, allocations: 99.34 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.591, allocations: 25.7 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.591, allocations: 84.14 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.5911, allocations: 40.7 kB / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.5911, allocations: 29.23 kB / 0.821 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.5912, allocations: 320.2 kB / 0.8213 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.5912, allocations: 18.77 kB / 0.8214 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.5913, allocations: 30.03 kB / 0.8214 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.889e-05/0.5914, allocations: 56.44 kB / 0.8214 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5914, allocations: 1.344 kB / 0.8214 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001369/0.5915, allocations: 103.7 kB / 0.8215 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5915, allocations: 4.688 kB / 0.8215 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5915, allocations: 0.7812 kB / 0.8215 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.5915, allocations: 3.5 kB / 0.8215 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5916, allocations: 25.81 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5917, allocations: 2.109 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.5917, allocations: 5.562 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.5917, allocations: 1.625 kB / 0.8216 GB, free: 14.52 MB / 0.6198 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.856e-05/0.5917, allocations: 114 kB / 0.8217 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.5918, allocations: 16.09 kB / 0.8217 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.5919, allocations: 103.5 kB / 0.8218 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.5919, allocations: 3.938 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.592, allocations: 4.688 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.592, allocations: 0.75 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.5924, allocations: 320 kB / 0.8221 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5924, allocations: 0.6562 kB / 0.8221 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.5925, allocations: 18.88 kB / 0.8221 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5925, allocations: 1.469 kB / 0.8221 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.5925, allocations: 13.83 kB / 0.8222 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.5925, allocations: 3.984 kB / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5925, allocations: 3.109 kB / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.5927, allocations: 217.8 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.5927, allocations: 11.12 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.5927, allocations: 5.969 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.123e-05/0.5928, allocations: 1.797 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.5928, allocations: 7.234 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.5928, allocations: 8.906 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.404e-05/0.5929, allocations: 85.77 kB / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5929, allocations: 0 / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002153/0.5931, allocations: 48.8 kB / 0.8225 GB, free: 13.74 MB / 0.6198 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.0005135/0.5936, allocations: 0.782 MB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.5937, allocations: 62.53 kB / 0.8233 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5937, allocations: 0 / 0.8233 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.5938, allocations: 34.58 kB / 0.8234 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.594, allocations: 6.25 kB / 0.8234 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.5951, allocations: 1.41 MB / 0.8248 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.5953, allocations: 0.6873 MB / 0.8254 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.529e-05/0.5953, allocations: 18.89 kB / 0.8255 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.5954, allocations: 13.5 kB / 0.8255 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.5954, allocations: 3.938 kB / 0.8255 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.6167, allocations: 2.623 MB / 0.828 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.638/7.255, allocations: 7.219 kB / 0.828 GB, free: 10.56 MB / 0.6198 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: 10.409541534958407] Failed to read output from testmodel.py, exit status != 0: 7.338584508979693 7.348088108 6.757885163 Calling exit ...