Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.002031/0.002031, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.002355/0.002355, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9719/0.9719, allocations: 150 MB / 459.5 MB, free: 5.688 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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",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.001917/0.001917, allocations: 70.55 kB / 0.6361 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1751, allocations: 89.13 MB / 0.7232 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6422/0.8172, allocations: 170.8 MB / 0.89 GB, free: 2.863 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.8201, allocations: 1.561 MB / 0.8915 GB, free: 2.809 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004602/0.8206, allocations: 17.09 kB / 0.8915 GB, free: 2.809 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.8211, allocations: 150.3 kB / 0.8917 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.8232, allocations: 0.7334 MB / 0.8924 GB, free: 2.773 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.825, allocations: 0.6045 MB / 0.893 GB, free: 2.75 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.8262, allocations: 0.6986 MB / 0.8937 GB, free: 2.746 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.8266, allocations: 196.2 kB / 0.8938 GB, free: 2.738 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.8279, allocations: 0.4915 MB / 0.8943 GB, free: 2.734 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.8282, allocations: 233.1 kB / 0.8945 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.8283, allocations: 22.09 kB / 0.8946 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.8301, allocations: 0.9156 MB / 0.8955 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.8302, allocations: 108 kB / 0.8956 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.8304, allocations: 165.2 kB / 0.8957 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.8317, allocations: 0.7195 MB / 0.8964 GB, free: 2.68 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8317, allocations: 0.9375 kB / 0.8964 GB, free: 2.68 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8317, allocations: 1.203 kB / 0.8964 GB, free: 2.68 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.8317, allocations: 2.672 kB / 0.8964 GB, free: 2.68 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001213/0.8329, allocations: 0.6639 MB / 0.8971 GB, free: 18.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.833, allocations: 10.16 kB / 0.8971 GB, free: 18.18 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/0.8331, allocations: 53.44 kB / 0.8971 GB, free: 18.14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.8342, allocations: 161 kB / 0.8973 GB, free: 18.12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.8348, allocations: 329 kB / 0.8976 GB, free: 17.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.8348, allocations: 16.75 kB / 0.8976 GB, free: 17.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.8349, allocations: 25.5 kB / 0.8976 GB, free: 17.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.8354, allocations: 271.5 kB / 0.8979 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.8354, allocations: 4 kB / 0.8979 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.8354, allocations: 12.81 kB / 0.8979 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.8354, allocations: 9.25 kB / 0.8979 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.8358, allocations: 197 kB / 0.8981 GB, free: 17.79 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.8371, allocations: 1.202 MB / 0.8993 GB, free: 16.96 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.8374, allocations: 134.7 kB / 0.8994 GB, free: 16.93 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.8376, allocations: 93.38 kB / 0.8995 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000619/0.8382, allocations: 301.3 kB / 0.8998 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.8382, allocations: 35.31 kB / 0.8998 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.973e-06/0.8382, allocations: 4 kB / 0.8998 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0007973/0.839, allocations: 277 kB / 0.9001 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.8391, allocations: 53.06 kB / 0.9001 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.8395, allocations: 319.5 kB / 0.9004 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.8395, allocations: 26.77 kB / 0.9005 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.8396, allocations: 184.9 kB / 0.9006 GB, free: 16.23 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.8397, allocations: 60.22 kB / 0.9007 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.622e-05/0.8398, allocations: 50.59 kB / 0.9008 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.84, allocations: 336.6 kB / 0.9011 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.8401, allocations: 67.08 kB / 0.9011 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.8403, allocations: 122.7 kB / 0.9013 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.8406, allocations: 183 kB / 0.9014 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.8407, allocations: 1.469 kB / 0.9014 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000466/0.8411, allocations: 254.8 kB / 0.9017 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.8411, allocations: 5.5 kB / 0.9017 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8411, allocations: 1.375 kB / 0.9017 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.8412, allocations: 2.75 kB / 0.9017 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.8414, allocations: 46.8 kB / 0.9017 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.8414, allocations: 1.375 kB / 0.9017 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.8416, allocations: 40.02 kB / 0.9018 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.8416, allocations: 14.25 kB / 0.9018 GB, free: 15.68 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001522/0.8418, allocations: 149.9 kB / 0.9019 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.8418, allocations: 30.94 kB / 0.902 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.8423, allocations: 214.1 kB / 0.9022 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.8423, allocations: 1.375 kB / 0.9022 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8423, allocations: 1.375 kB / 0.9022 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8423, allocations: 6.672 kB / 0.9022 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.8433, allocations: 0.6882 MB / 0.9028 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8433, allocations: 5.312 kB / 0.9028 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.8435, allocations: 31.14 kB / 0.9029 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.8435, allocations: 5.656 kB / 0.9029 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.8435, allocations: 2.75 kB / 0.9029 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.8435, allocations: 5.938 kB / 0.9029 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8435, allocations: 2.688 kB / 0.9029 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.8441, allocations: 434.6 kB / 0.9033 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.8443, allocations: 127.3 kB / 0.9034 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.8443, allocations: 7.984 kB / 0.9034 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.8445, allocations: 7.969 kB / 0.9034 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.8445, allocations: 18.58 kB / 0.9035 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.8445, allocations: 6 kB / 0.9035 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002272/0.8448, allocations: 225.5 kB / 0.9037 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8448, allocations: 5.406 kB / 0.9037 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000445/0.8452, allocations: 79.64 kB / 0.9038 GB, free: 14.72 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001202/0.8464, allocations: 1.012 MB / 0.9047 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.8469, allocations: 172.3 kB / 0.9049 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8469, allocations: 0 / 0.9049 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.847, allocations: 79.56 kB / 0.905 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008709/0.8479, allocations: 167.8 kB / 0.9052 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.8514, allocations: 2.925 MB / 0.908 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.8518, allocations: 0.7828 MB / 0.9088 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000223/0.852, allocations: 66.22 kB / 0.9088 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.8521, allocations: 88.17 kB / 0.9089 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/0.8521, allocations: 0 / 0.9089 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.8873, allocations: 8.825 MB / 0.9175 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/9.265, allocations: 13 kB / 0.9175 GB, free: 10.73 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.322970839915797] Failed to read output from testmodel.py, exit status != 0: 9.336476790020242 9.349352076 8.514808891 Calling exit ...