Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001309/0.001309, allocations: 102.9 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001393/0.001393, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002464/0.002464, allocations: 283.2 kB / 309.1 MB, free: 3.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.239/1.239, allocations: 180.9 MB / 0.5333 GB, free: 14.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002813/0.002813, allocations: 104.3 kB / 0.7343 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1864, allocations: 95.34 MB / 0.8274 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002671/0.1891, allocations: 1.459 MB / 0.8288 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1905, allocations: 0.8401 MB / 0.8296 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.1906, allocations: 3.938 kB / 0.8296 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.1906, allocations: 3.938 kB / 0.8296 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.1906, allocations: 3.938 kB / 0.8296 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.1911, allocations: 131.5 kB / 0.8297 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.464e-05/0.1912, allocations: 35.91 kB / 0.8298 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.1913, allocations: 7.984 kB / 0.8298 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.1913, allocations: 12 kB / 0.8298 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.1914, allocations: 19.91 kB / 0.8298 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1914, allocations: 4 kB / 0.8298 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004695/0.1918, allocations: 323.3 kB / 0.8301 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.1919, allocations: 8 kB / 0.8301 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1919, allocations: 11.92 kB / 0.8301 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.1922, allocations: 203.7 kB / 0.8303 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1922, allocations: 0 / 0.8303 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1922, allocations: 0 / 0.8303 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.1922, allocations: 0 / 0.8303 GB, free: 6.875 MB / 0.5762 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.0005991/0.1928, allocations: 379 kB / 0.8307 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1928, allocations: 11.97 kB / 0.8307 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.1929, allocations: 38.75 kB / 0.8308 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.1934, allocations: 60.86 kB / 0.8308 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1935, allocations: 172.4 kB / 0.831 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.1935, allocations: 384 / 0.831 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1935, allocations: 4.375 kB / 0.831 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.1938, allocations: 81.75 kB / 0.8311 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1939, allocations: 4 kB / 0.8311 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1939, allocations: 3.984 kB / 0.8311 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1939, allocations: 4 kB / 0.8311 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.1943, allocations: 91.84 kB / 0.8312 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.1949, allocations: 300.8 kB / 0.8314 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.1953, allocations: 90.5 kB / 0.8315 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.1955, allocations: 52.88 kB / 0.8316 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1955, allocations: 0 / 0.8316 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1955, allocations: 34.56 kB / 0.8316 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1955, allocations: 0 / 0.8316 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000767/0.1963, allocations: 173.6 kB / 0.8318 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1964, allocations: 51.41 kB / 0.8318 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.1964, allocations: 101.8 kB / 0.8319 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1965, allocations: 25.7 kB / 0.8319 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.1965, allocations: 84.14 kB / 0.832 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1965, allocations: 7.984 kB / 0.832 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.1966, allocations: 21.7 kB / 0.8321 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1967, allocations: 314.8 kB / 0.8324 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.1969, allocations: 43.89 kB / 0.8324 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.1972, allocations: 51.95 kB / 0.8324 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.1976, allocations: 92.77 kB / 0.8325 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1976, allocations: 0 / 0.8325 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004836/0.198, allocations: 121.6 kB / 0.8327 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1981, allocations: 6.188 kB / 0.8327 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1981, allocations: 0 / 0.8327 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1981, allocations: 4.031 kB / 0.8327 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1983, allocations: 27.91 kB / 0.8327 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1983, allocations: 0 / 0.8327 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1984, allocations: 19.91 kB / 0.8327 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1984, allocations: 4 kB / 0.8327 GB, free: 4.215 MB / 0.5762 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 8.815e-05/0.1985, allocations: 118.4 kB / 0.8328 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.1985, allocations: 7.953 kB / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.1985, allocations: 3.125 kB / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1985, allocations: 0 / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1985, allocations: 0 / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1985, allocations: 0 / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.1987, allocations: 173.6 kB / 0.833 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1987, allocations: 256 / 0.833 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.1989, allocations: 31.91 kB / 0.833 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1989, allocations: 4 kB / 0.833 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.1989, allocations: 0 / 0.833 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1989, allocations: 0 / 0.833 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1989, allocations: 0 / 0.833 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.1994, allocations: 219.4 kB / 0.8332 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1995, allocations: 77.11 kB / 0.8333 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.1995, allocations: 4 kB / 0.8333 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.1997, allocations: 20 kB / 0.8333 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1997, allocations: 8 kB / 0.8333 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1997, allocations: 3.984 kB / 0.8334 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.748e-05/0.1997, allocations: 79.28 kB / 0.8334 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1997, allocations: 0 / 0.8334 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002565/0.2, allocations: 15.95 kB / 0.8334 GB, free: 3.375 MB / 0.5762 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.0009228/0.2009, allocations: 0.7708 MB / 0.8342 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.2014, allocations: 91.94 kB / 0.8343 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2014, allocations: 0 / 0.8343 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.2016, allocations: 55.95 kB / 0.8343 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.202, allocations: 11.92 kB / 0.8343 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/0.2027, allocations: 191.2 kB / 0.8345 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.2031, allocations: 0.6768 MB / 0.8352 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.513e-05/0.2032, allocations: 11.94 kB / 0.8352 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.2032, allocations: 7.438 kB / 0.8352 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.2032, allocations: 0 / 0.8352 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.2297, allocations: 1.718 MB / 0.8369 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.095, allocations: 1.094 kB / 0.8369 GB, free: 15.88 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.453483649995178] Failed to read output from testmodel.py, exit status != 0: 8.164054047781974 8.187592059 7.991007426 Calling exit ...