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.001908/0.001908, 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.002586/0.002586, allocations: 220.9 kB / 23.01 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9587/0.9587, allocations: 150 MB / 463.2 MB, free: 10.52 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.002041/0.002041, allocations: 65.92 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2125, allocations: 89.16 MB / 0.7283 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002662/0.2152, allocations: 1.263 MB / 0.7296 GB, free: 80 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2163, allocations: 0.5954 MB / 0.7302 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.2164, allocations: 4 kB / 0.7302 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.2164, allocations: 0 / 0.7302 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.2164, allocations: 3.984 kB / 0.7302 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.217, allocations: 139.3 kB / 0.7303 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.588e-05/0.2171, allocations: 7.938 kB / 0.7303 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.2171, allocations: 4 kB / 0.7303 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.47e-05/0.2171, allocations: 4 kB / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.2172, allocations: 11.92 kB / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.2172, allocations: 4 kB / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005516/0.2178, allocations: 339.3 kB / 0.7307 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.2178, allocations: 0 / 0.7307 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.2178, allocations: 4 kB / 0.7307 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.2181, allocations: 143.8 kB / 0.7308 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2181, allocations: 4 kB / 0.7308 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2181, allocations: 0 / 0.7308 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2181, allocations: 0 / 0.7308 GB, free: 14.83 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.0004618/0.2186, allocations: 278 kB / 0.7311 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.2186, allocations: 12.03 kB / 0.7311 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.2186, allocations: 30.75 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.2187, allocations: 4.891 kB / 0.7311 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.2188, allocations: 114.5 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2188, allocations: 384 / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.2188, allocations: 4.125 kB / 0.7312 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.2189, allocations: 33.69 kB / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2189, allocations: 8 kB / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2189, allocations: 0 / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.219, allocations: 0 / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.219, allocations: 7.938 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.2192, allocations: 120.8 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.405e-05/0.2192, allocations: 26.56 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.2193, allocations: 8.797 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2193, allocations: 8 kB / 0.7314 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.2193, allocations: 34.56 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2193, allocations: 0 / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000161/0.2195, allocations: 41.64 kB / 0.7315 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.2195, allocations: 55.39 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.2196, allocations: 93.86 kB / 0.7316 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2196, allocations: 25.7 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.2197, allocations: 84.39 kB / 0.7317 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.2197, allocations: 11.95 kB / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.2198, allocations: 13.66 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2199, allocations: 314.8 kB / 0.7321 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.2199, allocations: 4 kB / 0.7321 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.193e-05/0.2199, allocations: 4 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.22, allocations: 12.86 kB / 0.7321 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.22, allocations: 0 / 0.7321 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.342e-05/0.22, allocations: 49.64 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.22, allocations: 4 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2201, allocations: 0 / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.2201, allocations: 4 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.2202, allocations: 11.97 kB / 0.7322 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004743/0.2207, allocations: 0.586 MB / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.2207, allocations: 3.953 kB / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.2208, allocations: 8.062 kB / 0.7327 GB, free: 12.62 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 0.0001158/0.2209, allocations: 119.7 kB / 0.7329 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.2209, allocations: 4 kB / 0.7329 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.221, allocations: 41.02 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.221, allocations: 0 / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.221, allocations: 3.984 kB / 0.7329 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.221, allocations: 0 / 0.7329 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2211, allocations: 128.7 kB / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2211, allocations: 0 / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.516e-05/0.2212, allocations: 11.98 kB / 0.733 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2212, allocations: 0 / 0.733 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.2212, allocations: 0 / 0.733 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003927/0.2216, allocations: 0.5859 MB / 0.7336 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2216, allocations: 0 / 0.7336 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.2217, allocations: 73.19 kB / 0.7337 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.2217, allocations: 0 / 0.7337 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.2217, allocations: 3.938 kB / 0.7337 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.624e-05/0.2217, allocations: 4 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.2218, allocations: 8 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.2218, allocations: 0 / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.2218, allocations: 79.27 kB / 0.7338 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2218, allocations: 4.125 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002393/0.222, allocations: 11.94 kB / 0.7338 GB, free: 11.45 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.0005445/0.2226, allocations: 0.6123 MB / 0.7344 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.2228, allocations: 19.98 kB / 0.7344 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2228, allocations: 4.094 kB / 0.7344 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.419e-05/0.2229, allocations: 15.92 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.223, allocations: 10.44 kB / 0.7344 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.2236, allocations: 131.8 kB / 0.7346 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.224, allocations: 0.6767 MB / 0.7352 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.224, allocations: 4.062 kB / 0.7352 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.224, allocations: 11.44 kB / 0.7352 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of SimCode: time 5e-07/0.224, allocations: 0 / 0.7352 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.254, allocations: 1.387 MB / 0.7366 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.69, allocations: 4.391 kB / 0.7366 GB, free: 8.652 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: 16.707749023997167] Failed to read output from testmodel.py, exit status != 0: 12.805157367998618 12.82968166 12.606983679 Calling exit ...