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.001413/0.001413, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001438/0.001438, allocations: 221.1 kB / 23 MB, free: 5.004 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.977 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 0.9691/0.9691, allocations: 150 MB / 463.2 MB, free: 10.56 MB / 366.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.00205/0.00205, allocations: 61.5 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1834, allocations: 89.17 MB / 0.7284 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002859/0.1862, allocations: 1.464 MB / 0.7298 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1876, allocations: 0.845 MB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.1877, allocations: 0 / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.1877, allocations: 3.938 kB / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.691e-05/0.1878, allocations: 7.922 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.1882, allocations: 127.5 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.1883, allocations: 35.92 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.1884, allocations: 3.984 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.1884, allocations: 15.98 kB / 0.7308 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.1885, allocations: 19.92 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1885, allocations: 0 / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.189, allocations: 319.4 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.189, allocations: 7.984 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.189, allocations: 15.94 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.1893, allocations: 203.7 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1893, allocations: 3.938 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1893, allocations: 0 / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.1894, allocations: 0 / 0.7313 GB, free: 14.23 MB / 0.5606 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.0005519/0.1899, allocations: 301.8 kB / 0.7316 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1899, allocations: 12.03 kB / 0.7316 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.19, allocations: 30.75 kB / 0.7317 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.1904, allocations: 72.84 kB / 0.7317 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1906, allocations: 110.5 kB / 0.7318 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.1906, allocations: 4.375 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.1906, allocations: 384 / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.1909, allocations: 85.75 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1909, allocations: 0 / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1909, allocations: 4 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1909, allocations: 0 / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.1913, allocations: 95.83 kB / 0.732 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.1919, allocations: 267.9 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.1922, allocations: 94.5 kB / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.1925, allocations: 52.81 kB / 0.7324 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.1925, allocations: 0 / 0.7324 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1925, allocations: 38.55 kB / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1925, allocations: 0 / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0007171/0.1932, allocations: 165.6 kB / 0.7326 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.1933, allocations: 55.41 kB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.1934, allocations: 101.8 kB / 0.7328 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1934, allocations: 25.7 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.1934, allocations: 96.08 kB / 0.7329 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.1935, allocations: 3.953 kB / 0.7329 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1935, allocations: 21.73 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1936, allocations: 322.8 kB / 0.7332 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.1938, allocations: 39.95 kB / 0.7333 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.194, allocations: 47.95 kB / 0.7333 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.1944, allocations: 92.77 kB / 0.7334 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1944, allocations: 0 / 0.7334 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004317/0.1948, allocations: 125.6 kB / 0.7335 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1949, allocations: 7.938 kB / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1949, allocations: 0 / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1949, allocations: 0 / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.195, allocations: 28 kB / 0.7335 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1951, allocations: 0 / 0.7335 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1952, allocations: 19.91 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.1952, allocations: 4 kB / 0.7336 GB, free: 11.75 MB / 0.5606 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.051e-05/0.1953, allocations: 109.8 kB / 0.7337 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1953, allocations: 4 kB / 0.7337 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.1953, allocations: 11.31 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1953, allocations: 0 / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1953, allocations: 0 / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1953, allocations: 0 / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.1955, allocations: 144.7 kB / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1955, allocations: 0 / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1957, allocations: 27.91 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1957, allocations: 4 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.1957, allocations: 0 / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1957, allocations: 0 / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1957, allocations: 0 / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.1962, allocations: 223.3 kB / 0.7341 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.1962, allocations: 3.984 kB / 0.7341 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1962, allocations: 4.25 kB / 0.7341 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1964, allocations: 24 kB / 0.7341 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.1964, allocations: 4 kB / 0.7341 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.1964, allocations: 7.922 kB / 0.7341 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.1965, allocations: 83.28 kB / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1965, allocations: 0 / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000244/0.1967, allocations: 12 kB / 0.7342 GB, free: 11.04 MB / 0.5606 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.0008395/0.1975, allocations: 0.763 MB / 0.7349 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.198, allocations: 95.94 kB / 0.735 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.198, allocations: 0 / 0.735 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.1982, allocations: 47.89 kB / 0.7351 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1985, allocations: 18.64 kB / 0.7351 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007115/0.1992, allocations: 195 kB / 0.7353 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1995, allocations: 0.6768 MB / 0.7359 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.601e-05/0.1996, allocations: 8 kB / 0.7359 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.1996, allocations: 11.44 kB / 0.736 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1996, allocations: 0 / 0.736 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.2275, allocations: 1.792 MB / 0.7377 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.09, allocations: 1.422 kB / 0.7377 GB, free: 7.484 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.153751795001881] Failed to read output from testmodel.py, exit status != 0: 11.193364937000297 11.223607468 11.028522406 Calling exit ...