Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.0007948/0.0007948, allocations: 105.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.0007773/0.0007773, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9482/0.9482, allocations: 230.6 MB / 256 MB, free: 9.594 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.7925/0.7925, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.0009716/0.0009716, allocations: 75.52 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.51, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001917/0.5119, allocations: 1.463 MB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.5129, allocations: 0.7705 MB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.5129, allocations: 0 / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.513, allocations: 4.594 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.513, allocations: 3.938 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.5134, allocations: 130.2 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.77e-05/0.5135, allocations: 35.69 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.5136, allocations: 3.547 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.13e-05/0.5136, allocations: 17.14 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.5137, allocations: 20.66 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.5137, allocations: 3.875 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.514, allocations: 250.1 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.514, allocations: 10.47 kB / 0.8204 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.5141, allocations: 16.39 kB / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.5143, allocations: 184.8 kB / 0.8206 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5143, allocations: 0.75 kB / 0.8206 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5143, allocations: 0 / 0.8206 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.5143, allocations: 0 / 0.8206 GB, free: 15.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003999/0.5147, allocations: 296 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5148, allocations: 13.66 kB / 0.8209 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.5148, allocations: 32.25 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.5151, allocations: 70.78 kB / 0.821 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.591e-05/0.5152, allocations: 113.5 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.5152, allocations: 1.875 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.5152, allocations: 5.125 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.5154, allocations: 91.47 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5154, allocations: 3.984 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.5154, allocations: 0 / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5154, allocations: 0 / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.5156, allocations: 91.36 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.516, allocations: 257.7 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.5162, allocations: 93.62 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.5163, allocations: 61.17 kB / 0.8217 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.5163, allocations: 7.938 kB / 0.8217 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.5164, allocations: 33.34 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5164, allocations: 0 / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004181/0.5168, allocations: 167 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.5168, allocations: 52.69 kB / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.5169, allocations: 101.7 kB / 0.822 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.5169, allocations: 27.02 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.5169, allocations: 86.2 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.5169, allocations: 6.031 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.517, allocations: 17.09 kB / 0.8222 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.517, allocations: 318.9 kB / 0.8225 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.5172, allocations: 42.31 kB / 0.8225 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.5173, allocations: 54.06 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.5175, allocations: 91.52 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5175, allocations: 0 / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002402/0.5177, allocations: 118.5 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5177, allocations: 3.625 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5177, allocations: 3.453 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5178, allocations: 0 / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.5179, allocations: 23.81 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5179, allocations: 0 / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.5179, allocations: 17.58 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.5179, allocations: 1.703 kB / 0.8228 GB, free: 13.65 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 (2): * Single equations (assignments): 2 * 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.231e-05/0.518, allocations: 121.1 kB / 0.8229 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.518, allocations: 9.266 kB / 0.8229 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.518, allocations: 9.938 kB / 0.823 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.518, allocations: 0 / 0.823 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.518, allocations: 1.406 kB / 0.823 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.518, allocations: 4.641 kB / 0.823 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.5182, allocations: 136.5 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5182, allocations: 1.094 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.5182, allocations: 21.11 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5182, allocations: 4.516 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5182, allocations: 5.891 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5182, allocations: 0 / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5182, allocations: 1.094 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.5185, allocations: 219.7 kB / 0.8233 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.5185, allocations: 1.703 kB / 0.8233 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.5185, allocations: 2.297 kB / 0.8233 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.5186, allocations: 20.67 kB / 0.8234 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.5186, allocations: 6.875 kB / 0.8234 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.5187, allocations: 5.859 kB / 0.8234 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.5187, allocations: 84.62 kB / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5187, allocations: 0 / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001704/0.5188, allocations: 15.98 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005009/0.5194, allocations: 0.7564 MB / 0.8242 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.5196, allocations: 100.8 kB / 0.8243 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5196, allocations: 0 / 0.8243 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.5197, allocations: 49.47 kB / 0.8243 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.52, allocations: 6.125 kB / 0.8244 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.5205, allocations: 197.6 kB / 0.8245 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.848e-05/0.5205, allocations: 64.91 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.308e-05/0.5206, allocations: 11.61 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.5206, allocations: 15.62 kB / 0.8246 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of SimCode: time 8.61e-07/0.5206, allocations: 0 / 0.8246 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.5374, allocations: 2.243 MB / 0.8268 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.437/6.975, allocations: 9.609 kB / 0.8268 GB, free: 11.25 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.842837967909873] Failed to read output from testmodel.py, exit status != 0: 7.0537173128686845 7.066132469 6.549050941 Calling exit ...