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.0008146/0.0008146, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.0009089/0.0009089, allocations: 212 kB / 22.25 MB, free: 3.578 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 1.01/1.01, allocations: 230.6 MB / 256 MB, free: 9.598 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.7978/0.7978, allocations: 203.8 MB / 0.5042 GB, free: 10.48 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.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: 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.0009143/0.0009143, allocations: 69.94 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.521/0.522, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001278/0.5232, allocations: 0.633 MB / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.5245, allocations: 1.435 MB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.5245, allocations: 3.938 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.5245, allocations: 0 / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-05/0.5246, allocations: 8.219 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.5249, allocations: 122.8 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.215e-05/0.525, allocations: 28.88 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.525, allocations: 2.688 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.5251, allocations: 21.81 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.5251, allocations: 19.98 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.5251, allocations: 0 / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.5254, allocations: 248.2 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.5254, allocations: 7.094 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.5254, allocations: 18.5 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.5257, allocations: 180.6 kB / 0.8205 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5257, allocations: 0 / 0.8205 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5257, allocations: 0 / 0.8205 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5257, allocations: 4 kB / 0.8205 GB, free: 15.42 MB / 0.6198 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.0003621/0.526, allocations: 306.5 kB / 0.8208 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.5261, allocations: 9.562 kB / 0.8208 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.355e-05/0.5261, allocations: 32.28 kB / 0.8208 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.5263, allocations: 63.27 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.876e-05/0.5264, allocations: 116.7 kB / 0.821 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.5264, allocations: 1.469 kB / 0.821 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.5264, allocations: 1.938 kB / 0.821 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.5266, allocations: 78.64 kB / 0.8211 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.5266, allocations: 7.938 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.5266, allocations: 0 / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.5266, allocations: 6.016 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.5268, allocations: 70.45 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.5269, allocations: 143.4 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.5272, allocations: 122.4 kB / 0.8214 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.5273, allocations: 43.89 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.5273, allocations: 1.812 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.5273, allocations: 43.19 kB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.5273, allocations: 0 / 0.8215 GB, free: 14.61 MB / 0.6198 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.002083/0.5294, allocations: 0.7782 MB / 0.8223 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.5294, allocations: 61.06 kB / 0.8223 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.5295, allocations: 115.5 kB / 0.8224 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.5295, allocations: 25.7 kB / 0.8224 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.5296, allocations: 86.3 kB / 0.8225 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.5296, allocations: 30.55 kB / 0.8226 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.5296, allocations: 29.38 kB / 0.8226 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.5297, allocations: 318.8 kB / 0.8229 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.53, allocations: 95.52 kB / 0.823 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.5302, allocations: 104.1 kB / 0.8231 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.5306, allocations: 190.5 kB / 0.8233 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5306, allocations: 3.938 kB / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004779/0.5311, allocations: 239.3 kB / 0.8235 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5311, allocations: 9.844 kB / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5311, allocations: 1.188 kB / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5311, allocations: 0 / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.5313, allocations: 51.92 kB / 0.8236 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5313, allocations: 7.938 kB / 0.8236 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.5314, allocations: 37.14 kB / 0.8236 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.5314, allocations: 5.516 kB / 0.8236 GB, free: 13.67 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 (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.445e-05/0.5315, allocations: 116.8 kB / 0.8237 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.5315, allocations: 11.05 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.5315, allocations: 11.12 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5315, allocations: 1.469 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5315, allocations: 0.7031 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5315, allocations: 0 / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.5325, allocations: 0.5578 MB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5325, allocations: 1.875 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.5326, allocations: 54.25 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.5326, allocations: 1.031 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.5327, allocations: 8.875 kB / 0.8243 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5327, allocations: 1.812 kB / 0.8243 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5327, allocations: 7.938 kB / 0.8244 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.5332, allocations: 345.4 kB / 0.8247 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.5332, allocations: 7.281 kB / 0.8247 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.5332, allocations: 11.44 kB / 0.8247 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.5333, allocations: 36.97 kB / 0.8247 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.5334, allocations: 12.12 kB / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.5334, allocations: 5.141 kB / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.5334, allocations: 90.56 kB / 0.8248 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5334, allocations: 0 / 0.8248 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002291/0.5336, allocations: 41.69 kB / 0.8249 GB, free: 12.89 MB / 0.6198 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.0007429/0.5344, allocations: 0.8988 MB / 0.8258 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.5349, allocations: 204.6 kB / 0.826 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5349, allocations: 4 kB / 0.826 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.5351, allocations: 104 kB / 0.8261 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.5353, allocations: 14.28 kB / 0.8261 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.538, allocations: 2.132 MB / 0.8282 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.538, allocations: 69.62 kB / 0.8282 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.47e-05/0.5381, allocations: 27.81 kB / 0.8282 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.5382, allocations: 27.58 kB / 0.8283 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of SimCode: time 9.11e-07/0.5382, allocations: 0 / 0.8283 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.5577, allocations: 3.373 MB / 0.8316 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.358/6.916, allocations: 5.469 kB / 0.8316 GB, free: 9.648 MB / 0.6198 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: 10.030332788825035] Failed to read output from testmodel.py, exit status != 0: 6.996807379182428 7.008136439 6.480540643 Calling exit ...