Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.00135/0.00135, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001459/0.001459, allocations: 219.1 kB / 22.99 MB, free: 4.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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.006/1.006, allocations: 149.9 MB / 463 MB, free: 10.32 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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.002282/0.002282, allocations: 63.62 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1827, allocations: 89.18 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002826/0.1855, allocations: 1.259 MB / 0.7294 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1865, allocations: 0.5177 MB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.1866, allocations: 0 / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.1866, allocations: 0 / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.1866, allocations: 3.938 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.1872, allocations: 139.4 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.521e-05/0.1873, allocations: 11.98 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.1873, allocations: 3.984 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/0.1874, allocations: 4 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.1874, allocations: 7.938 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1874, allocations: 0 / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.1879, allocations: 275.4 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.1879, allocations: 0 / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.1879, allocations: 0 / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.1882, allocations: 135.9 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1882, allocations: 4 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1882, allocations: 0 / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1882, allocations: 0 / 0.7305 GB, free: 14.64 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004065/0.1886, allocations: 278 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1886, allocations: 12.03 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.1887, allocations: 34.73 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.1887, allocations: 4.891 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1888, allocations: 106.5 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.1888, allocations: 384 / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1889, allocations: 4.125 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.218e-05/0.1889, allocations: 37.69 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.189, allocations: 0 / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.189, allocations: 4 kB / 0.7309 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.189, allocations: 3.938 kB / 0.7309 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.189, allocations: 4 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1892, allocations: 124.7 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.1892, allocations: 22.59 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.1892, allocations: 12.86 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.1893, allocations: 0 / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1893, allocations: 30.56 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1893, allocations: 7.938 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.1895, allocations: 49.62 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1895, allocations: 51.41 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.1896, allocations: 97.86 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1896, allocations: 25.7 kB / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.1896, allocations: 80.14 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1897, allocations: 3.953 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1897, allocations: 13.72 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1898, allocations: 318.8 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.1899, allocations: 12.25 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.1899, allocations: 0 / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.1899, allocations: 8.859 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1899, allocations: 0 / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.319e-05/0.19, allocations: 49.58 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.19, allocations: 4 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.19, allocations: 3.984 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.19, allocations: 0 / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1902, allocations: 8 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004468/0.1906, allocations: 0.5822 MB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.1906, allocations: 7.984 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1906, allocations: 3.938 kB / 0.7324 GB, free: 12.45 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.73e-05/0.1907, allocations: 113.8 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.1907, allocations: 4 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.1909, allocations: 44.95 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1909, allocations: 3.984 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1909, allocations: 0 / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1909, allocations: 4.125 kB / 0.7325 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.191, allocations: 124.7 kB / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.191, allocations: 0 / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.1911, allocations: 11.98 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1911, allocations: 0 / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.1911, allocations: 0 / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00038/0.1914, allocations: 0.5898 MB / 0.7333 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1914, allocations: 0 / 0.7333 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.718e-05/0.1915, allocations: 65.16 kB / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.1915, allocations: 8.062 kB / 0.7333 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1916, allocations: 11.88 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.1916, allocations: 0 / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.1916, allocations: 0 / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.1916, allocations: 0 / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.1916, allocations: 83.27 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1916, allocations: 0 / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002041/0.1919, allocations: 11.94 kB / 0.7334 GB, free: 11.28 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005087/0.1924, allocations: 0.6202 MB / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001572/0.1925, allocations: 15.98 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1925, allocations: 0 / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.203e-05/0.1926, allocations: 11.98 kB / 0.7341 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.1928, allocations: 10.19 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.1933, allocations: 134 kB / 0.7342 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.626e-05/0.1933, allocations: 63.28 kB / 0.7343 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.532e-05/0.1933, allocations: 4.125 kB / 0.7343 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.1934, allocations: 15.42 kB / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1934, allocations: 0 / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.2234, allocations: 1.805 MB / 0.736 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/12.94, allocations: 3.984 kB / 0.736 GB, free: 8.676 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.005117905326188] Failed to read output from testmodel.py, exit status != 0: 13.05817607510835 13.075597892 12.883868805 Calling exit ...