Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.00129/0.00129, allocations: 119 kB / 19.69 MB, free: 2.199 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.001456/0.001456, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.9424/0.9424, allocations: 150 MB / 463.2 MB, free: 10.46 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.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.002035/0.002035, allocations: 62.34 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1878, allocations: 89.18 MB / 0.7283 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002449/0.1903, allocations: 1.298 MB / 0.7296 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1914, allocations: 0.5994 MB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.1914, allocations: 0 / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.1914, allocations: 3.938 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-05/0.1915, allocations: 3.938 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.192, allocations: 139.4 kB / 0.7303 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.1921, allocations: 31.84 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.1921, allocations: 0 / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.1921, allocations: 7.938 kB / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.1922, allocations: 11.98 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1922, allocations: 0 / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.1927, allocations: 343.3 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.1927, allocations: 7.922 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.1928, allocations: 11.94 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.193, allocations: 139.9 kB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1931, allocations: 0 / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1931, allocations: 7.938 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.1931, allocations: 0 / 0.7309 GB, free: 14.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004422/0.1935, allocations: 289.9 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1935, allocations: 12.03 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.1936, allocations: 30.75 kB / 0.7312 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.1936, allocations: 0.9375 kB / 0.7312 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1937, allocations: 114.5 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1937, allocations: 384 / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1937, allocations: 4.125 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.1939, allocations: 45.69 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1939, allocations: 0 / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1939, allocations: 0 / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1939, allocations: 4 kB / 0.7314 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.1e-05/0.1939, allocations: 19.92 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1943, allocations: 223.9 kB / 0.7316 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1945, allocations: 46.69 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.1946, allocations: 20.84 kB / 0.7317 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1946, allocations: 0 / 0.7317 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1946, allocations: 34.56 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1946, allocations: 0 / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001813/0.1948, allocations: 65.52 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1948, allocations: 51.41 kB / 0.7318 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.1949, allocations: 97.86 kB / 0.7319 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1949, allocations: 33.7 kB / 0.7319 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.195, allocations: 84.12 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.195, allocations: 7.906 kB / 0.732 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.195, allocations: 17.72 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1952, allocations: 318.8 kB / 0.7323 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.1952, allocations: 11.98 kB / 0.7323 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.1952, allocations: 17.84 kB / 0.7324 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.1953, allocations: 37.66 kB / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1953, allocations: 0 / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.761e-05/0.1954, allocations: 62 kB / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1954, allocations: 7.984 kB / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1954, allocations: 0 / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1954, allocations: 0 / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/0.1955, allocations: 11.94 kB / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1955, allocations: 0 / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.1955, allocations: 15.97 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1955, allocations: 3.984 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.207e-05/0.1956, allocations: 115.8 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1956, allocations: 4 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.1958, allocations: 65.3 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1958, allocations: 0 / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1958, allocations: 0 / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1958, allocations: 0 / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1959, allocations: 132.7 kB / 0.7328 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1959, allocations: 4 kB / 0.7328 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.196, allocations: 4 kB / 0.7328 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.196, allocations: 0 / 0.7328 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.196, allocations: 0 / 0.7328 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.196, allocations: 0 / 0.7328 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.196, allocations: 4 kB / 0.7328 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1961, allocations: 151.4 kB / 0.733 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.1961, allocations: 4 kB / 0.733 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1961, allocations: 4 kB / 0.733 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.911e-05/0.1962, allocations: 3.938 kB / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.1962, allocations: 8 kB / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1962, allocations: 0 / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.1963, allocations: 83.27 kB / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1963, allocations: 0 / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002426/0.1965, allocations: 15.94 kB / 0.7331 GB, free: 12.1 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 (4): * Single equations (assignments): 4 * 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.0005182/0.197, allocations: 0.7122 MB / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1971, allocations: 27.92 kB / 0.7338 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1971, allocations: 0 / 0.7338 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.1972, allocations: 4 kB / 0.7338 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1974, allocations: 5.406 kB / 0.7338 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.1979, allocations: 168.3 kB / 0.734 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1982, allocations: 0.6806 MB / 0.7346 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.1982, allocations: 7.984 kB / 0.7346 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1982, allocations: 11.44 kB / 0.7346 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1982, allocations: 0 / 0.7346 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.2266, allocations: 1.506 MB / 0.7361 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.23, allocations: 3.781 kB / 0.7361 GB, free: 9.02 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_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_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.08065182500286] Failed to read output from testmodel.py, exit status != 0: 11.337100919001387 11.353632536 11.157335682 Calling exit ...