Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.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.0009691/0.0009691, 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.001142/0.001142, 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.949/0.949, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7397/0.7397, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.403e-05, allocations: 2.875 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001056/0.00107, allocations: 0.6388 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.002471, allocations: 1.431 MB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.002499, allocations: 0 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.002516, allocations: 7.938 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.002587, allocations: 3.938 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.00292, allocations: 123.4 kB / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.45e-05/0.002975, allocations: 23.92 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.003016, allocations: 4 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.003072, allocations: 27.91 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.003127, allocations: 15.91 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.003142, allocations: 4 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.003395, allocations: 247.5 kB / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.00341, allocations: 0 / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.003432, allocations: 19.91 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.003645, allocations: 195.5 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003647, allocations: 0 / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003648, allocations: 0 / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003652, allocations: 0 / 0.6208 GB, free: 10.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006457/0.004298, allocations: 305.8 kB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.004337, allocations: 9.469 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.692e-05/0.004364, allocations: 34.75 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.004576, allocations: 60.81 kB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.004676, allocations: 113.8 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.004692, allocations: 8.297 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.00471, allocations: 4.328 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.004867, allocations: 86.14 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.004877, allocations: 192 / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.004887, allocations: 8.125 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.004891, allocations: 0 / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.005059, allocations: 67.92 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.005192, allocations: 140.8 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.005455, allocations: 114.5 kB / 0.6217 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/0.005551, allocations: 48.94 kB / 0.6217 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.005567, allocations: 0 / 0.6217 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.005586, allocations: 34.5 kB / 0.6218 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.005587, allocations: 3.938 kB / 0.6218 GB, free: 9.797 MB / 0.5886 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.00204/0.007626, allocations: 0.7929 MB / 0.6225 GB, free: 9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.007659, allocations: 55.41 kB / 0.6226 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/0.007728, allocations: 109.8 kB / 0.6227 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.007744, allocations: 33.7 kB / 0.6227 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.007773, allocations: 84.14 kB / 0.6228 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.007804, allocations: 27.75 kB / 0.6228 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.007844, allocations: 29.64 kB / 0.6229 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.007921, allocations: 322.8 kB / 0.6232 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.008128, allocations: 95.89 kB / 0.6233 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.008324, allocations: 91.91 kB / 0.6234 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.008719, allocations: 196.7 kB / 0.6235 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.00872, allocations: 0 / 0.6235 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004568/0.009177, allocations: 245.3 kB / 0.6238 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.00919, allocations: 4.375 kB / 0.6238 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.009195, allocations: 0 / 0.6238 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.009206, allocations: 4 kB / 0.6238 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.009359, allocations: 51.94 kB / 0.6238 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.009363, allocations: 3.938 kB / 0.6238 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.009469, allocations: 47.89 kB / 0.6239 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.009478, allocations: 4.75 kB / 0.6239 GB, free: 7.566 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 (9): * Single equations (assignments): 9 * 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.178e-05/0.00954, allocations: 110.8 kB / 0.624 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.009553, allocations: 15.83 kB / 0.624 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.009587, allocations: 12.42 kB / 0.624 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.009592, allocations: 11.98 kB / 0.624 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.009596, allocations: 0 / 0.624 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.0096, allocations: 0 / 0.624 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009213/0.01052, allocations: 0.5497 MB / 0.6246 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.01052, allocations: 4 kB / 0.6246 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.01064, allocations: 59.94 kB / 0.6246 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01064, allocations: 4 kB / 0.6246 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.01066, allocations: 3.984 kB / 0.6246 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01066, allocations: 4.391 kB / 0.6246 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01066, allocations: 4 kB / 0.6246 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.01112, allocations: 340.9 kB / 0.625 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.01114, allocations: 7.953 kB / 0.625 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.01115, allocations: 0 / 0.625 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.01126, allocations: 39.95 kB / 0.625 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.0113, allocations: 7.984 kB / 0.625 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.01131, allocations: 4 kB / 0.625 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.01134, allocations: 99.19 kB / 0.6251 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01134, allocations: 4 kB / 0.6251 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001964/0.01154, allocations: 39.86 kB / 0.6252 GB, free: 6.168 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0007191/0.01226, allocations: 0.9012 MB / 0.626 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.01271, allocations: 200 kB / 0.6262 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01272, allocations: 4.125 kB / 0.6262 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.01292, allocations: 108 kB / 0.6263 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.0131, allocations: 16 kB / 0.6264 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.01608, allocations: 2.144 MB / 0.6284 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.43e-05/0.01614, allocations: 70.84 kB / 0.6285 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.301e-05/0.01621, allocations: 24.72 kB / 0.6285 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.526e-05/0.0163, allocations: 24.48 kB / 0.6286 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.0163, allocations: 0 / 0.6286 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.03284, allocations: 3.49 MB / 0.632 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/7.006, allocations: 6.594 kB / 0.632 GB, free: 15.2 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.92653644271195] Failed to read output from testmodel.py, exit status != 0: 7.085659636184573 7.097565112 7.091802208 Calling exit ...