Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00137/0.00137, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001556/0.001556, allocations: 204 kB / 20.09 MB, free: 2.977 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.091/1.091, allocations: 150 MB / 459.5 MB, free: 5.688 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002082/0.002082, allocations: 65.16 kB / 0.6361 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1807, allocations: 89.14 MB / 0.7232 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002574/0.1833, allocations: 1.446 MB / 0.7246 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1846, allocations: 0.8356 MB / 0.7254 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.1846, allocations: 0 / 0.7254 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.1847, allocations: 7.922 kB / 0.7254 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.1847, allocations: 3.938 kB / 0.7254 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1852, allocations: 135.5 kB / 0.7255 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.1852, allocations: 31.92 kB / 0.7256 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.1853, allocations: 11.98 kB / 0.7256 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.1854, allocations: 15.92 kB / 0.7256 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.1854, allocations: 23.91 kB / 0.7256 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1854, allocations: 4 kB / 0.7256 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.1859, allocations: 311.4 kB / 0.7259 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.1859, allocations: 7.984 kB / 0.7259 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.186, allocations: 15.92 kB / 0.7259 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.1863, allocations: 203.7 kB / 0.7261 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1863, allocations: 4 kB / 0.7261 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1863, allocations: 0 / 0.7261 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.1863, allocations: 0 / 0.7261 GB, free: 0.9922 MB / 0.5294 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.0005321/0.1868, allocations: 375 kB / 0.7265 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1869, allocations: 8.031 kB / 0.7265 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.1869, allocations: 34.69 kB / 0.7265 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004605/0.1874, allocations: 68.84 kB / 0.7266 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1875, allocations: 168.3 kB / 0.7268 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1875, allocations: 4.375 kB / 0.7268 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.1875, allocations: 384 / 0.7268 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.1878, allocations: 85.75 kB / 0.7269 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1878, allocations: 0 / 0.7269 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1878, allocations: 0 / 0.7269 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1878, allocations: 7.984 kB / 0.7269 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.1883, allocations: 95.91 kB / 0.727 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.1888, allocations: 292.8 kB / 0.7272 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.1892, allocations: 98.48 kB / 0.7273 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.1895, allocations: 52.88 kB / 0.7274 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.1895, allocations: 0 / 0.7274 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1895, allocations: 30.56 kB / 0.7274 GB, free: 15.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1895, allocations: 4 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007628/0.1903, allocations: 173.5 kB / 0.7276 GB, free: 15.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1903, allocations: 55.41 kB / 0.7276 GB, free: 15.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.1904, allocations: 101.8 kB / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1904, allocations: 29.7 kB / 0.7278 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.1904, allocations: 84.14 kB / 0.7278 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.1905, allocations: 3.953 kB / 0.7278 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.1905, allocations: 21.75 kB / 0.7279 GB, free: 15.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1907, allocations: 318.8 kB / 0.7282 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1909, allocations: 39.95 kB / 0.7282 GB, free: 14.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.1911, allocations: 47.95 kB / 0.7282 GB, free: 14.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.1915, allocations: 96.77 kB / 0.7283 GB, free: 14.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1915, allocations: 0 / 0.7283 GB, free: 14.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004862/0.192, allocations: 125.5 kB / 0.7285 GB, free: 14.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.192, allocations: 4 kB / 0.7285 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.192, allocations: 0 / 0.7285 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.192, allocations: 0 / 0.7285 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1922, allocations: 31.98 kB / 0.7285 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1922, allocations: 0 / 0.7285 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.1923, allocations: 15.92 kB / 0.7285 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1923, allocations: 4 kB / 0.7285 GB, free: 14.33 MB / 0.545 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 0.0001021/0.1924, allocations: 117.8 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.1925, allocations: 4 kB / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.1925, allocations: 7.125 kB / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1925, allocations: 0 / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1925, allocations: 0 / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1925, allocations: 0 / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1927, allocations: 173.6 kB / 0.7288 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1927, allocations: 0 / 0.7288 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1928, allocations: 23.97 kB / 0.7288 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1928, allocations: 4 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1929, allocations: 0 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1929, allocations: 0 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1929, allocations: 4.188 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.1934, allocations: 223.3 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.1934, allocations: 77.11 kB / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1935, allocations: 8 kB / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.1936, allocations: 23.94 kB / 0.7291 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1937, allocations: 4 kB / 0.7291 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.1937, allocations: 0 / 0.7291 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.1937, allocations: 87.27 kB / 0.7292 GB, free: 13.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1937, allocations: 0 / 0.7292 GB, free: 13.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002481/0.194, allocations: 12 kB / 0.7292 GB, free: 13.49 MB / 0.545 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.0008934/0.1948, allocations: 0.7591 MB / 0.73 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004939/0.1953, allocations: 95.92 kB / 0.7301 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1953, allocations: 0 / 0.7301 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.1956, allocations: 43.95 kB / 0.7301 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.1959, allocations: 12.12 kB / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.1966, allocations: 210.7 kB / 0.7303 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1969, allocations: 0.6729 MB / 0.731 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.634e-05/0.197, allocations: 11.98 kB / 0.731 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.197, allocations: 11.44 kB / 0.731 GB, free: 11.59 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.197, allocations: 0 / 0.731 GB, free: 11.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.2199, allocations: 1.684 MB / 0.7327 GB, free: 10.01 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.361, allocations: 14.56 kB / 0.7327 GB, free: 10 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.43454273790121] Failed to read output from testmodel.py, exit status != 0: 8.431932255858555 8.459573288 8.268679149 Calling exit ...