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.001484/0.001484, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001538/0.001538, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9768/0.9768, allocations: 150 MB / 459.5 MB, free: 5.266 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_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.002913/0.002913, allocations: 71.41 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1829, allocations: 89.14 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002499/0.1854, allocations: 1.251 MB / 0.7244 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1865, allocations: 0.5899 MB / 0.725 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.1865, allocations: 0 / 0.725 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.1865, allocations: 3.938 kB / 0.725 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.1866, allocations: 3.984 kB / 0.725 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.1871, allocations: 142 kB / 0.7251 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.1872, allocations: 15.92 kB / 0.7251 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.1872, allocations: 0 / 0.7251 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/0.1872, allocations: 7.938 kB / 0.7251 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.1873, allocations: 3.984 kB / 0.7251 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1873, allocations: 0 / 0.7251 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.1878, allocations: 343.3 kB / 0.7255 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.1878, allocations: 0 / 0.7255 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.1879, allocations: 11.92 kB / 0.7255 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1881, allocations: 135.9 kB / 0.7256 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1881, allocations: 3.984 kB / 0.7256 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1881, allocations: 4 kB / 0.7256 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.1881, 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.0004592/0.1886, allocations: 360.8 kB / 0.7259 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1886, allocations: 8.031 kB / 0.726 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.1887, allocations: 34.75 kB / 0.726 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.1887, allocations: 0.9375 kB / 0.726 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.1888, allocations: 160.4 kB / 0.7261 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1889, allocations: 4.312 kB / 0.7261 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1889, allocations: 4.125 kB / 0.7262 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.189, allocations: 41.69 kB / 0.7262 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.189, allocations: 0 / 0.7262 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.189, allocations: 0 / 0.7262 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.189, allocations: 8 kB / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.189, allocations: 0 / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.1892, allocations: 157.6 kB / 0.7263 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.121e-05/0.1893, allocations: 18.61 kB / 0.7264 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.1893, allocations: 20.86 kB / 0.7264 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1893, allocations: 0 / 0.7264 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1893, allocations: 34.5 kB / 0.7264 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1893, allocations: 0 / 0.7264 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.1895, allocations: 45.62 kB / 0.7265 GB, free: 476 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.1895, allocations: 55.41 kB / 0.7265 GB, free: 408 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.666e-05/0.1896, allocations: 89.98 kB / 0.7266 GB, free: 308 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1896, allocations: 33.83 kB / 0.7266 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.1897, allocations: 80.14 kB / 0.7267 GB, free: 184 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1897, allocations: 3.953 kB / 0.7267 GB, free: 180 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.1898, allocations: 21.7 kB / 0.7267 GB, free: 152 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1899, allocations: 310.8 kB / 0.727 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.1899, allocations: 0 / 0.727 GB, free: 15.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.1899, allocations: 4 kB / 0.727 GB, free: 15.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/0.19, allocations: 16.92 kB / 0.727 GB, free: 15.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.19, allocations: 0 / 0.727 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.988e-05/0.19, allocations: 45.56 kB / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1901, allocations: 8 kB / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1901, allocations: 0 / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1901, allocations: 0 / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1902, allocations: 8 kB / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000442/0.1907, allocations: 0.5977 MB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.1907, allocations: 0 / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1907, 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 9.492e-05/0.1908, allocations: 109.9 kB / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.1908, allocations: 0 / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1909, allocations: 48.75 kB / 0.7278 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1909, allocations: 3.938 kB / 0.7279 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1909, allocations: 128 / 0.7279 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1909, allocations: 4 kB / 0.7279 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.191, allocations: 153.6 kB / 0.728 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.191, allocations: 3.984 kB / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.1911, allocations: 8 kB / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1911, allocations: 0 / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1911, allocations: 0 / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003868/0.1915, allocations: 0.5859 MB / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1915, allocations: 8.125 kB / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.257e-05/0.1916, allocations: 65.11 kB / 0.7287 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1917, allocations: 81.06 kB / 0.7287 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1917, allocations: 3.938 kB / 0.7287 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.39e-05/0.1917, allocations: 0 / 0.7287 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.1917, allocations: 11.98 kB / 0.7287 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1917, allocations: 0 / 0.7287 GB, free: 13.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.1918, allocations: 79.31 kB / 0.7288 GB, free: 13.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1918, allocations: 3.938 kB / 0.7288 GB, free: 13.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002035/0.192, allocations: 15.94 kB / 0.7288 GB, free: 13.82 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.0004957/0.1925, allocations: 0.6192 MB / 0.7294 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1926, allocations: 16.12 kB / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1926, allocations: 0 / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.1927, allocations: 19.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.0001454/0.1929, allocations: 0 / 0.7295 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.1934, allocations: 139.5 kB / 0.7296 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1937, allocations: 0.6807 MB / 0.7303 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.501e-05/0.1937, allocations: 7.938 kB / 0.7303 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.1937, allocations: 7.438 kB / 0.7303 GB, free: 12.24 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1937, allocations: 4 kB / 0.7303 GB, free: 12.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.2239, allocations: 1.394 MB / 0.7317 GB, free: 11.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.26, allocations: 0 / 0.7317 GB, free: 11.05 MB / 0.545 GB " [Timeout remaining time 648] (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.242857465986162] Failed to read output from testmodel.py, exit status != 0: 12.354144562967122 12.370580271 12.179281283 Calling exit ...