Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001209/0.001209, 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.0008258/0.0008258, allocations: 170.3 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.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.735/0.735, allocations: 154.6 MB / 413.7 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.693e-05, allocations: 4.031 kB / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001615/0.001642, allocations: 0.6412 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.003689, allocations: 1.431 MB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.00373, allocations: 4 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.003751, allocations: 0 / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.23e-05/0.003833, allocations: 7.875 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.004269, allocations: 123.5 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.004347, allocations: 23.92 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.004397, allocations: 11.98 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.004455, allocations: 19.92 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.004518, allocations: 15.92 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.004536, allocations: 4 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.004821, allocations: 251.4 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.00484, allocations: 4 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.004864, allocations: 15.92 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.005079, allocations: 191.5 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.005083, allocations: 0 / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.005085, allocations: 0 / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.005089, allocations: 4 kB / 0.6208 GB, free: 10.84 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.0004376/0.005527, allocations: 305.8 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.005578, allocations: 12.03 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.005616, allocations: 34.69 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.005849, allocations: 60.81 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.005967, allocations: 117.8 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.005985, allocations: 4.375 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.006006, allocations: 8.328 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.006187, allocations: 74.14 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.0062, allocations: 4.188 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.006213, allocations: 4.125 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.006218, allocations: 0 / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.006403, allocations: 71.92 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.006575, allocations: 132.8 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.00685, allocations: 126.5 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-05/0.00694, allocations: 44.95 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.006956, allocations: 0 / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.006978, allocations: 30.56 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.006979, allocations: 0 / 0.6218 GB, free: 9.695 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.002031/0.00901, allocations: 0.7998 MB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.009042, allocations: 51.41 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.009118, allocations: 121.8 kB / 0.6228 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.009131, allocations: 25.7 kB / 0.6228 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.009166, allocations: 84.14 kB / 0.6229 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.009204, allocations: 27.73 kB / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.009246, allocations: 29.7 kB / 0.6229 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.009331, allocations: 314.8 kB / 0.6232 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.009543, allocations: 100.1 kB / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.009736, allocations: 99.89 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.01012, allocations: 196.6 kB / 0.6236 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01012, allocations: 0 / 0.6236 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004516/0.01057, allocations: 245.3 kB / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01058, allocations: 8 kB / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01059, allocations: 0 / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.0106, allocations: 4.375 kB / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.01076, allocations: 47.94 kB / 0.6239 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01076, allocations: 0 / 0.6239 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.611e-05/0.01086, allocations: 39.95 kB / 0.6239 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.01087, allocations: 7.938 kB / 0.6239 GB, free: 7.461 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.436e-05/0.01093, allocations: 110.8 kB / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.01095, allocations: 11.89 kB / 0.6241 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.01098, allocations: 20.42 kB / 0.6241 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01099, allocations: 7.938 kB / 0.6241 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01099, allocations: 0 / 0.6241 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.01099, allocations: 0 / 0.6241 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008928/0.01189, allocations: 0.5575 MB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01189, allocations: 4 kB / 0.6246 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.01201, allocations: 47.94 kB / 0.6247 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01201, allocations: 4 kB / 0.6247 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.01202, allocations: 3.984 kB / 0.6247 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01202, allocations: 8.031 kB / 0.6247 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01203, allocations: 0 / 0.6247 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.01249, allocations: 344.9 kB / 0.625 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.01251, allocations: 7.953 kB / 0.625 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.01252, allocations: 4 kB / 0.625 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.01263, allocations: 35.95 kB / 0.6251 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.01267, allocations: 7.984 kB / 0.6251 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.01268, allocations: 11.98 kB / 0.6251 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.01272, allocations: 95.22 kB / 0.6252 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01272, allocations: 0 / 0.6252 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002083/0.01293, allocations: 35.86 kB / 0.6252 GB, free: 6.066 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.0007871/0.01372, allocations: 0.9019 MB / 0.6261 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004692/0.01419, allocations: 203.7 kB / 0.6263 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01419, allocations: 4.375 kB / 0.6263 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.01439, allocations: 111.9 kB / 0.6264 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.01457, allocations: 8 kB / 0.6264 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.01706, allocations: 2.148 MB / 0.6285 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/0.01711, allocations: 67.34 kB / 0.6286 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.433e-05/0.0172, allocations: 32.64 kB / 0.6286 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.01727, allocations: 28.48 kB / 0.6286 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/0.01727, allocations: 0 / 0.6286 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.03459, allocations: 3.485 MB / 0.632 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/6.862, allocations: 7.984 kB / 0.632 GB, free: 15.09 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.700909211300313] Failed to read output from testmodel.py, exit status != 0: 6.944334400817752 6.957347026 6.949037315 Calling exit ...