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.001774/0.001774, 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.001388/0.001388, allocations: 222.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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9552/0.9552, allocations: 150 MB / 463.2 MB, free: 10.9 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_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.002064/0.002064, allocations: 60.59 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.208, allocations: 89.17 MB / 0.7284 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002789/0.2108, allocations: 1.266 MB / 0.7296 GB, free: 60 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.2119, allocations: 0.5916 MB / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.2119, allocations: 0 / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.2119, allocations: 3.938 kB / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.212, allocations: 0 / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.2125, allocations: 138.9 kB / 0.7303 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.863e-05/0.2126, allocations: 7.938 kB / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.49e-05/0.2126, allocations: 7.969 kB / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.2127, allocations: 4 kB / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.2127, allocations: 15.94 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2127, allocations: 0 / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005523/0.2133, allocations: 335.3 kB / 0.7307 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.2133, allocations: 7.969 kB / 0.7307 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.2133, allocations: 4 kB / 0.7307 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.2136, allocations: 139.9 kB / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2136, allocations: 0 / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.358e-06/0.2136, allocations: 4 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.2136, allocations: 0 / 0.7308 GB, free: 14.81 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.000444/0.2141, allocations: 274 kB / 0.7311 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2141, allocations: 12.03 kB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.2141, allocations: 34.69 kB / 0.7311 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.2142, allocations: 4.891 kB / 0.7311 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2143, allocations: 106.5 kB / 0.7312 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2143, allocations: 4.375 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.2143, allocations: 4.125 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.2144, allocations: 33.69 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2144, allocations: 0 / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2145, allocations: 0 / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2145, allocations: 4 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.2145, allocations: 4 kB / 0.7313 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.2147, allocations: 128.7 kB / 0.7314 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.982e-05/0.2147, allocations: 22.55 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.2148, allocations: 16.86 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2148, allocations: 0 / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.2148, allocations: 34.56 kB / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2148, allocations: 0 / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001705/0.215, allocations: 49.62 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.215, allocations: 51.41 kB / 0.7316 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.2151, allocations: 89.86 kB / 0.7316 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2151, allocations: 25.7 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.2152, allocations: 84.14 kB / 0.7317 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.2152, allocations: 11.89 kB / 0.7318 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.2152, allocations: 17.97 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2154, allocations: 314.8 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.2154, allocations: 4 kB / 0.7321 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.2154, allocations: 4 kB / 0.7321 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.2154, allocations: 12.86 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2154, allocations: 0 / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.985e-05/0.2155, allocations: 45.58 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2155, allocations: 16.08 kB / 0.7322 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2155, allocations: 0 / 0.7322 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.2156, allocations: 0 / 0.7322 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2157, allocations: 8 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004395/0.2162, allocations: 0.5782 MB / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.2162, allocations: 7.938 kB / 0.7327 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.2162, allocations: 3.938 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 9.88e-05/0.2163, allocations: 119.9 kB / 0.7328 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.2163, allocations: 0 / 0.7328 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.2164, allocations: 52.92 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2164, allocations: 0 / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2164, allocations: 0 / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2164, allocations: 0 / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.2165, allocations: 124.7 kB / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2165, allocations: 0 / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.453e-05/0.2166, allocations: 16 kB / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2166, allocations: 4 kB / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.2166, allocations: 3.938 kB / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003532/0.217, allocations: 0.5859 MB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.217, allocations: 4.031 kB / 0.7336 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.406e-05/0.2171, allocations: 65.22 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.2171, allocations: 0 / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.2171, allocations: 3.938 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.2171, allocations: 4 kB / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.2171, allocations: 3.984 kB / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.2171, allocations: 0 / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.2172, allocations: 79.28 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2172, allocations: 4 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001897/0.2174, allocations: 7.938 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.0004761/0.2178, allocations: 0.6234 MB / 0.7344 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.218, allocations: 19.98 kB / 0.7344 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.218, allocations: 0 / 0.7344 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/0.2181, allocations: 24.02 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.2182, allocations: 0.9375 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.2187, allocations: 135.7 kB / 0.7346 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.2191, allocations: 0.6806 MB / 0.7352 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.59e-05/0.2191, allocations: 0 / 0.7352 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.2191, allocations: 7.438 kB / 0.7352 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2191, allocations: 4.062 kB / 0.7352 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.2489, allocations: 1.373 MB / 0.7366 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/12.87, allocations: 6.828 kB / 0.7366 GB, free: 8.648 MB / 0.5606 GB " [Timeout remaining time 647] (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.846666649002145] Failed to read output from testmodel.py, exit status != 0: 12.987513369997032 13.00585575 12.789197885 Calling exit ...