Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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: 115.2 kB / 19.7 MB, free: 2.207 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.001454/0.001454, allocations: 220.3 kB / 23.01 MB, free: 5.07 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.013/1.013, allocations: 150 MB / 463.2 MB, free: 10.47 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.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.002066/0.002066, allocations: 62.59 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.188, allocations: 89.17 MB / 0.7283 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5999/0.7879, allocations: 165.1 MB / 0.8895 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003301/0.7912, allocations: 1.703 MB / 0.8912 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.7916, allocations: 15.81 kB / 0.8912 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006268/0.7922, allocations: 174.9 kB / 0.8914 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.7937, allocations: 0.5368 MB / 0.8919 GB, free: 15.87 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.795, allocations: 440.9 kB / 0.8923 GB, free: 15.44 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009764/0.796, allocations: 0.5771 MB / 0.8929 GB, free: 14.86 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.7963, allocations: 153.3 kB / 0.893 GB, free: 14.71 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.7975, allocations: 490.2 kB / 0.8935 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.7977, allocations: 159.2 kB / 0.8937 GB, free: 14.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.7978, allocations: 12 kB / 0.8937 GB, free: 14.06 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.7992, allocations: 0.7249 MB / 0.8944 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.7993, allocations: 79.73 kB / 0.8944 GB, free: 13.26 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.7995, allocations: 131.3 kB / 0.8946 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0009622/0.8005, allocations: 498.3 kB / 0.895 GB, free: 12.64 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.8005, allocations: 0 / 0.895 GB, free: 12.64 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8005, allocations: 0 / 0.895 GB, free: 12.64 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.8005, allocations: 0 / 0.895 GB, free: 12.64 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008806/0.8014, allocations: 0.5235 MB / 0.8956 GB, free: 12.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.8014, allocations: 12.03 kB / 0.8956 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.001e-05/0.8015, allocations: 50.55 kB / 0.8956 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/0.8018, allocations: 55.72 kB / 0.8957 GB, free: 11.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.8023, allocations: 244.1 kB / 0.8959 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.8023, allocations: 16 kB / 0.8959 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.8024, allocations: 12 kB / 0.8959 GB, free: 11.67 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.8028, allocations: 184.2 kB / 0.8961 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8028, allocations: 0 / 0.8961 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.8028, allocations: 8 kB / 0.8961 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.8028, allocations: 4 kB / 0.8961 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.8031, allocations: 135.8 kB / 0.8962 GB, free: 11.33 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.8043, allocations: 0.7489 MB / 0.897 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.8046, allocations: 78.53 kB / 0.8971 GB, free: 10.43 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.8047, allocations: 73.86 kB / 0.8971 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.805, allocations: 31.98 kB / 0.8972 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.805, allocations: 42.44 kB / 0.8972 GB, free: 10.27 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.805, allocations: 0 / 0.8972 GB, free: 10.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0007118/0.8057, allocations: 221.4 kB / 0.8974 GB, free: 10.05 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.8058, allocations: 51.41 kB / 0.8975 GB, free: 9.988 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.8061, allocations: 268.2 kB / 0.8977 GB, free: 9.719 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.8061, allocations: 37.7 kB / 0.8977 GB, free: 9.676 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.8062, allocations: 151.9 kB / 0.8979 GB, free: 9.523 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.8063, allocations: 35.69 kB / 0.8979 GB, free: 9.488 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.8063, allocations: 29.72 kB / 0.898 GB, free: 9.453 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8065, allocations: 330.8 kB / 0.8983 GB, free: 9.121 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.8066, allocations: 52.81 kB / 0.8983 GB, free: 9.066 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.8068, allocations: 89.11 kB / 0.8984 GB, free: 8.961 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.8071, allocations: 123.3 kB / 0.8985 GB, free: 8.828 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8071, allocations: 0.5625 kB / 0.8985 GB, free: 8.828 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003621/0.8074, allocations: 165.3 kB / 0.8987 GB, free: 8.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.8075, allocations: 11.94 kB / 0.8987 GB, free: 8.648 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.8075, allocations: 0.5 kB / 0.8987 GB, free: 8.648 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.8075, allocations: 0 / 0.8987 GB, free: 8.648 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.8076, allocations: 19.98 kB / 0.8987 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.8076, allocations: 7.938 kB / 0.8987 GB, free: 8.621 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.8078, allocations: 25.92 kB / 0.8987 GB, free: 8.598 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.8078, allocations: 8.031 kB / 0.8988 GB, free: 8.59 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000214/0.808, allocations: 148.1 kB / 0.8989 GB, free: 8.441 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001697/0.8082, allocations: 93.05 kB / 0.899 GB, free: 8.332 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002539/0.8085, allocations: 127.2 kB / 0.8991 GB, free: 8.195 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.8085, allocations: 0 / 0.8991 GB, free: 8.195 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003371/0.8088, allocations: 153.5 kB / 0.8992 GB, free: 8.039 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.8088, allocations: 8 kB / 0.8993 GB, free: 8.031 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.8088, allocations: 3.938 kB / 0.8993 GB, free: 8.027 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.224e-06/0.8088, allocations: 4 kB / 0.8993 GB, free: 8.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.8089, allocations: 28.02 kB / 0.8993 GB, free: 7.996 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.8089, allocations: 3.938 kB / 0.8993 GB, free: 7.992 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.8091, allocations: 11.98 kB / 0.8993 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.8091, allocations: 4.859 kB / 0.8993 GB, free: 7.977 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 0.0001217/0.8093, allocations: 184.3 kB / 0.8995 GB, free: 7.789 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.8093, allocations: 31.78 kB / 0.8995 GB, free: 7.758 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.8097, allocations: 163.2 kB / 0.8997 GB, free: 7.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.8097, allocations: 7.984 kB / 0.8997 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8097, allocations: 0 / 0.8997 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8097, allocations: 0 / 0.8997 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.8107, allocations: 0.5577 MB / 0.9002 GB, free: 6.953 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.8107, allocations: 0.875 kB / 0.9002 GB, free: 6.953 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.8109, allocations: 27.92 kB / 0.9003 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.8109, allocations: 0 / 0.9003 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.8109, allocations: 4 kB / 0.9003 GB, free: 6.922 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.8109, allocations: 4 kB / 0.9003 GB, free: 6.918 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8109, allocations: 2.344 kB / 0.9003 GB, free: 6.918 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.8114, allocations: 313.4 kB / 0.9006 GB, free: 6.574 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.8115, allocations: 31.84 kB / 0.9006 GB, free: 6.543 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.8115, allocations: 4 kB / 0.9006 GB, free: 6.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.8117, allocations: 19.92 kB / 0.9006 GB, free: 6.52 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.8118, allocations: 11.92 kB / 0.9006 GB, free: 6.508 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.8118, allocations: 4 kB / 0.9006 GB, free: 6.504 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002456/0.812, allocations: 203.1 kB / 0.9008 GB, free: 6.305 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.1e-08/0.812, allocations: 0 / 0.9008 GB, free: 6.305 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005586/0.8126, allocations: 99.83 kB / 0.9009 GB, free: 6.207 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.001064/0.8136, allocations: 0.8873 MB / 0.9018 GB, free: 5.273 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.8142, allocations: 163.8 kB / 0.9019 GB, free: 5.113 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8142, allocations: 0 / 0.9019 GB, free: 5.113 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.8143, allocations: 55.84 kB / 0.902 GB, free: 5.059 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.8151, allocations: 117 kB / 0.9021 GB, free: 4.957 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.8183, allocations: 2.365 MB / 0.9044 GB, free: 2.457 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.8187, allocations: 0.7635 MB / 0.9052 GB, free: 1.668 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002398/0.8189, allocations: 70.86 kB / 0.9052 GB, free: 1.598 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.8191, allocations: 71.41 kB / 0.9053 GB, free: 1.527 MB / 0.67 GB Notification: Performance of SimCode: time 8.02e-07/0.8191, allocations: 0 / 0.9053 GB, free: 1.527 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/0.8567, allocations: 7.058 MB / 0.9122 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.3, allocations: 4 kB / 0.9122 GB, free: 10.69 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_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_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.27203789900159] Failed to read output from testmodel.py, exit status != 0: 12.417239454000082 12.439273402 11.635324455 Calling exit ...