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.0009247/0.0009247, 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.0008588/0.0008588, allocations: 169.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.8935/0.8935, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7233/0.7233, allocations: 154.6 MB / 413.7 MB, free: 0.8477 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 2.315e-06/2.315e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.363e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001332/0.001355, allocations: 0.6422 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.002786, allocations: 1.419 MB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.002821, allocations: 4 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.002842, allocations: 7.938 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.00291, allocations: 7.922 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.003289, allocations: 123.4 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.003353, allocations: 31.84 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.003401, allocations: 8 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.97e-05/0.003451, allocations: 15.98 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.00351, allocations: 19.91 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.003525, allocations: 0 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.003804, allocations: 247.5 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.003825, allocations: 11.98 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.003846, allocations: 7.922 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.004067, allocations: 195.5 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.004071, allocations: 0 / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.433e-06/0.004072, allocations: 0 / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.004077, allocations: 0 / 0.6208 GB, free: 10.91 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.0004337/0.00451, allocations: 309.8 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.004557, allocations: 13.41 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.004588, allocations: 34.75 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.004817, allocations: 64.81 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.004926, allocations: 113.7 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.004942, allocations: 4.375 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.00496, allocations: 384 / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.005128, allocations: 82.14 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005138, allocations: 192 / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.005148, allocations: 4.125 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005153, allocations: 3.984 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.005323, allocations: 71.92 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.005462, allocations: 136.8 kB / 0.6216 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.005729, allocations: 118.5 kB / 0.6217 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.005819, allocations: 48.88 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.005835, allocations: 0 / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.005856, allocations: 38.56 kB / 0.6218 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.005858, allocations: 3.938 kB / 0.6218 GB, free: 9.754 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.00198/0.007838, allocations: 0.778 MB / 0.6225 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.007874, allocations: 55.39 kB / 0.6226 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.384e-05/0.007948, allocations: 113.8 kB / 0.6227 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.007961, allocations: 29.7 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.007993, allocations: 88.14 kB / 0.6228 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.008026, allocations: 27.7 kB / 0.6228 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.008068, allocations: 29.7 kB / 0.6229 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.00814, allocations: 318.8 kB / 0.6232 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.008345, allocations: 95.89 kB / 0.6233 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.008537, allocations: 91.91 kB / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.00892, allocations: 196.7 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.008922, allocations: 0.75 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000444/0.009366, allocations: 237.4 kB / 0.6238 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.009382, allocations: 12.36 kB / 0.6238 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.009388, allocations: 4 kB / 0.6238 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.009403, allocations: 0 / 0.6238 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.009563, allocations: 59.88 kB / 0.6238 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.009568, allocations: 7.875 kB / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.975e-05/0.009668, allocations: 39.95 kB / 0.6239 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.009678, allocations: 4 kB / 0.6239 GB, free: 7.531 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.63e-05/0.009744, allocations: 114.8 kB / 0.624 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.009759, allocations: 7.891 kB / 0.624 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.009792, allocations: 16.44 kB / 0.624 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.009795, allocations: 3.984 kB / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.0098, allocations: 0 / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.009802, allocations: 0 / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008876/0.01069, allocations: 0.5575 MB / 0.6246 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01069, allocations: 8 kB / 0.6246 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.0108, allocations: 51.94 kB / 0.6246 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.01081, allocations: 0 / 0.6246 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.01082, allocations: 11.98 kB / 0.6246 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01082, allocations: 0 / 0.6246 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01082, allocations: 4.391 kB / 0.6246 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.01128, allocations: 333 kB / 0.625 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.01129, allocations: 11.94 kB / 0.625 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.0113, allocations: 0 / 0.625 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.01142, allocations: 43.95 kB / 0.625 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.01145, allocations: 7.984 kB / 0.625 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.01146, allocations: 4 kB / 0.625 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.0115, allocations: 99.19 kB / 0.6251 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.0115, allocations: 0 / 0.6251 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002105/0.01171, allocations: 43.86 kB / 0.6252 GB, free: 6.137 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.0007415/0.01245, allocations: 0.9045 MB / 0.626 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.01291, allocations: 203.9 kB / 0.6262 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01291, allocations: 192 / 0.6262 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.0131, allocations: 104 kB / 0.6263 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.01328, allocations: 19.95 kB / 0.6263 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.01569, allocations: 2.146 MB / 0.6284 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.905e-05/0.01574, allocations: 67.34 kB / 0.6285 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.395e-05/0.01582, allocations: 20.73 kB / 0.6285 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.01589, allocations: 28.47 kB / 0.6286 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/0.01589, allocations: 0 / 0.6286 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.03352, allocations: 3.495 MB / 0.632 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/6.916, allocations: 6.719 kB / 0.632 GB, free: 15.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.595857622101903] Failed to read output from testmodel.py, exit status != 0: 6.998756302520633 7.008026582 7.001916385 Calling exit ...