Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.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.001728/0.001728, allocations: 111.7 kB / 17.12 MB, free: 5.945 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.00173/0.00173, allocations: 209 kB / 20.09 MB, free: 2.996 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9771/0.9771, allocations: 150 MB / 459.5 MB, free: 5.695 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.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",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.001882/0.001882, allocations: 69.31 kB / 0.6361 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1775, allocations: 89.13 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.6441/0.8216, allocations: 170.8 MB / 0.89 GB, free: 2.871 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.8244, allocations: 1.566 MB / 0.8916 GB, free: 2.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.8246, allocations: 16.59 kB / 0.8916 GB, free: 2.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.8251, allocations: 156.4 kB / 0.8917 GB, free: 2.816 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.8268, allocations: 0.7309 MB / 0.8924 GB, free: 2.789 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.8284, allocations: 0.6137 MB / 0.893 GB, free: 2.766 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009922/0.8294, allocations: 0.7146 MB / 0.8937 GB, free: 2.766 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.8297, allocations: 200.4 kB / 0.8939 GB, free: 2.754 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.8309, allocations: 0.5149 MB / 0.8944 GB, free: 2.742 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.8312, allocations: 236.8 kB / 0.8946 GB, free: 2.742 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.8312, allocations: 23.12 kB / 0.8947 GB, free: 2.742 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.8328, allocations: 0.9092 MB / 0.8956 GB, free: 2.734 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.8329, allocations: 109.4 kB / 0.8957 GB, free: 2.734 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.8331, allocations: 173.7 kB / 0.8958 GB, free: 2.734 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0009455/0.834, allocations: 0.7402 MB / 0.8966 GB, free: 2.691 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.834, allocations: 0 / 0.8966 GB, free: 2.691 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.172e-06/0.834, allocations: 0 / 0.8966 GB, free: 2.691 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.8341, allocations: 4 kB / 0.8966 GB, free: 2.688 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001069/0.8351, allocations: 0.6727 MB / 0.8972 GB, free: 18.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.8352, allocations: 10.19 kB / 0.8972 GB, free: 18.18 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.084e-05/0.8352, allocations: 58.81 kB / 0.8973 GB, free: 18.14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.8363, allocations: 156.3 kB / 0.8974 GB, free: 18.13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.8368, allocations: 334.9 kB / 0.8977 GB, free: 17.89 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.8368, allocations: 17.56 kB / 0.8978 GB, free: 17.89 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.8369, allocations: 21.91 kB / 0.8978 GB, free: 17.89 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.8373, allocations: 287.2 kB / 0.8981 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8373, allocations: 0 / 0.8981 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.8373, allocations: 9.375 kB / 0.8981 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.8373, allocations: 5.719 kB / 0.8981 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.8377, allocations: 200.9 kB / 0.8983 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.8391, allocations: 1.234 MB / 0.8995 GB, free: 16.96 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.8393, allocations: 135.8 kB / 0.8996 GB, free: 16.94 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.8395, allocations: 92.31 kB / 0.8997 GB, free: 16.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/0.8401, allocations: 307.2 kB / 0.9 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.8401, allocations: 37.56 kB / 0.9 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.8401, allocations: 0 / 0.9 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17): time 0.0007373/0.8408, allocations: 295.4 kB / 0.9003 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.8409, allocations: 55.83 kB / 0.9003 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.8412, allocations: 319 kB / 0.9007 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.8412, allocations: 29.02 kB / 0.9007 GB, free: 16.35 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.8413, allocations: 184.9 kB / 0.9009 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.8414, allocations: 69.69 kB / 0.9009 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.8414, allocations: 44.81 kB / 0.901 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.8416, allocations: 345.1 kB / 0.9013 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.8417, allocations: 74.98 kB / 0.9014 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.8419, allocations: 133 kB / 0.9015 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.8423, allocations: 200.2 kB / 0.9017 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8423, allocations: 1.375 kB / 0.9017 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004462/0.8427, allocations: 252.6 kB / 0.9019 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.8427, allocations: 8.078 kB / 0.9019 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8427, allocations: 1.469 kB / 0.9019 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.8428, allocations: 5.375 kB / 0.9019 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.843, allocations: 47.47 kB / 0.902 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.843, allocations: 1.375 kB / 0.902 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.8431, allocations: 32.97 kB / 0.902 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.8432, allocations: 14.78 kB / 0.902 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 (24): * Single equations (assignments): 24 * 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.0001452/0.8433, allocations: 150.7 kB / 0.9022 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.8434, allocations: 30.94 kB / 0.9022 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.8438, allocations: 237.1 kB / 0.9024 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8438, allocations: 1.375 kB / 0.9024 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.8438, allocations: 1.203 kB / 0.9024 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8438, allocations: 1.375 kB / 0.9024 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/0.8448, allocations: 0.706 MB / 0.9031 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.8448, allocations: 1.875 kB / 0.9031 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.845, allocations: 35.7 kB / 0.9032 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.845, allocations: 7.188 kB / 0.9032 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.845, allocations: 7.531 kB / 0.9032 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.845, allocations: 5.438 kB / 0.9032 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.845, allocations: 4.469 kB / 0.9032 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.8456, allocations: 457.6 kB / 0.9036 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.8458, allocations: 126.3 kB / 0.9037 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.8458, allocations: 7.812 kB / 0.9037 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.846, allocations: 11.22 kB / 0.9038 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.8461, allocations: 24.38 kB / 0.9038 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.8461, allocations: 5.281 kB / 0.9038 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002135/0.8463, allocations: 232.8 kB / 0.904 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8463, allocations: 0 / 0.904 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003824/0.8467, allocations: 87.08 kB / 0.9041 GB, free: 14.7 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 (17): * Single equations (assignments): 17 * 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.001094/0.8478, allocations: 1.033 MB / 0.9051 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003868/0.8481, allocations: 175.1 kB / 0.9053 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8481, allocations: 0 / 0.9053 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.8483, allocations: 97.2 kB / 0.9054 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.8491, allocations: 155.6 kB / 0.9055 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.8524, allocations: 3.021 MB / 0.9085 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.8528, allocations: 0.785 MB / 0.9092 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.853, allocations: 72.67 kB / 0.9093 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.8531, allocations: 90.59 kB / 0.9094 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of SimCode: time 2.9e-07/0.8531, allocations: 0 / 0.9094 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.8862, allocations: 9.019 MB / 0.9182 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/9.122, allocations: 14.89 kB / 0.9182 GB, free: 10.71 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_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_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.03818179690279] Failed to read output from testmodel.py, exit status != 0: 9.19568955199793 9.213507871 8.375908082 Calling exit ...