Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001414/0.001414, 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.001569/0.001569, 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.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.05/1.05, allocations: 150 MB / 459.5 MB, free: 5.301 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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.003266/0.003266, allocations: 72.72 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1844, allocations: 89.13 MB / 0.7231 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002497/0.1869, allocations: 1.272 MB / 0.7244 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.188, allocations: 0.5822 MB / 0.725 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.188, allocations: 0 / 0.725 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.188, allocations: 4 kB / 0.725 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.188, allocations: 3.938 kB / 0.725 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.1886, allocations: 135.4 kB / 0.7251 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.1886, allocations: 7.938 kB / 0.7251 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.1887, allocations: 8 kB / 0.7251 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.1887, allocations: 7.922 kB / 0.7251 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.1887, allocations: 4 kB / 0.7251 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.1887, allocations: 0 / 0.7251 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.1893, allocations: 347.3 kB / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.1893, allocations: 0 / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.1893, allocations: 7.938 kB / 0.7255 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.1896, allocations: 139.9 kB / 0.7256 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.1896, allocations: 4 kB / 0.7256 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1896, allocations: 0 / 0.7256 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.1896, allocations: 0 / 0.7256 GB, free: 1.52 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004219/0.1901, allocations: 355.1 kB / 0.7259 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1901, allocations: 8.031 kB / 0.7259 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.097e-05/0.1901, allocations: 30.75 kB / 0.726 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.1902, allocations: 8.922 kB / 0.726 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1903, allocations: 168.4 kB / 0.7261 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1903, allocations: 4.312 kB / 0.7261 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1903, allocations: 4.125 kB / 0.7262 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.12e-05/0.1904, allocations: 37.58 kB / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1904, allocations: 0 / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.1904, allocations: 0 / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1904, allocations: 0 / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.1904, allocations: 11.98 kB / 0.7262 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.1906, allocations: 149.7 kB / 0.7263 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.1907, allocations: 22.58 kB / 0.7264 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.1907, allocations: 12.78 kB / 0.7264 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1907, allocations: 4.062 kB / 0.7264 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1908, allocations: 34.5 kB / 0.7264 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1908, allocations: 0 / 0.7264 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001368/0.1909, allocations: 41.7 kB / 0.7265 GB, free: 476 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1909, allocations: 51.41 kB / 0.7265 GB, free: 412 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.191, allocations: 97.84 kB / 0.7266 GB, free: 304 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.191, allocations: 29.7 kB / 0.7266 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.1911, allocations: 80.14 kB / 0.7267 GB, free: 184 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1911, allocations: 11.94 kB / 0.7267 GB, free: 172 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.1911, allocations: 9.719 kB / 0.7267 GB, free: 156 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1913, allocations: 315.1 kB / 0.727 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.1913, allocations: 8 kB / 0.727 GB, free: 15.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.1913, allocations: 3.938 kB / 0.727 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.1913, allocations: 16.84 kB / 0.727 GB, free: 15.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1913, allocations: 0 / 0.727 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.115e-05/0.1914, allocations: 41.64 kB / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1914, allocations: 4 kB / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1914, allocations: 0 / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1914, allocations: 96 / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1916, allocations: 19.98 kB / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004514/0.1921, allocations: 0.5859 MB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.1921, allocations: 4.031 kB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1921, allocations: 3.938 kB / 0.7277 GB, free: 15.12 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): 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 8.026e-05/0.1922, allocations: 105.8 kB / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.1922, allocations: 8.094 kB / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.1923, allocations: 44.81 kB / 0.7278 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1923, allocations: 7.938 kB / 0.7279 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1923, allocations: 0 / 0.7279 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1923, allocations: 0 / 0.7279 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.1924, allocations: 153.6 kB / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1924, allocations: 0 / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1925, allocations: 15.92 kB / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1925, allocations: 0 / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1925, allocations: 0 / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003733/0.1929, allocations: 0.5898 MB / 0.7286 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1929, allocations: 0 / 0.7286 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.741e-05/0.193, allocations: 65.09 kB / 0.7287 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.1931, allocations: 85.06 kB / 0.7287 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1931, allocations: 12.06 kB / 0.7287 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.1931, allocations: 0 / 0.7287 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.1931, allocations: 0 / 0.7287 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.1931, allocations: 0 / 0.7287 GB, free: 13.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.1931, allocations: 79.28 kB / 0.7288 GB, free: 13.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1931, allocations: 0 / 0.7288 GB, free: 13.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002165/0.1934, allocations: 11.94 kB / 0.7288 GB, free: 13.83 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): 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.0005175/0.1939, allocations: 0.619 MB / 0.7294 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.1941, allocations: 23.92 kB / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1941, allocations: 0 / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.387e-05/0.1942, allocations: 15.98 kB / 0.7295 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.1943, allocations: 4 kB / 0.7295 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.1948, allocations: 135.8 kB / 0.7296 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1952, allocations: 0.6767 MB / 0.7303 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.907e-05/0.1952, allocations: 7.922 kB / 0.7303 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.1952, allocations: 7.438 kB / 0.7303 GB, free: 12.25 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1952, allocations: 0 / 0.7303 GB, free: 12.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.2225, allocations: 1.389 MB / 0.7316 GB, free: 11.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.32, allocations: 4.438 kB / 0.7316 GB, free: 11.05 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.467641377123073] Failed to read output from testmodel.py, exit status != 0: 12.423263610107824 12.446845257 12.252526936 Calling exit ...