Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001232/0.001232, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001397/0.001397, allocations: 217 kB / 22.25 MB, free: 5.082 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002403/0.002403, allocations: 282.5 kB / 312.7 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.157/1.157, allocations: 180.6 MB / 0.5369 GB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002727/0.002727, allocations: 96.86 kB / 0.7396 GB, free: 28.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1563, allocations: 95.39 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5718/0.7281, allocations: 171 MB / 0.9997 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.7307, allocations: 1.563 MB / 1.001 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000324/0.731, allocations: 18.25 kB / 1.001 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.7315, allocations: 149.6 kB / 1.001 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.7332, allocations: 0.7459 MB / 1.002 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.7347, allocations: 0.6291 MB / 1.003 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008734/0.7355, allocations: 0.7123 MB / 1.003 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.7359, allocations: 189.4 kB / 1.004 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.7365, allocations: 352.3 kB / 1.004 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.7368, allocations: 243.6 kB / 1.004 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.7369, allocations: 22.81 kB / 1.004 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.7385, allocations: 0.9447 MB / 1.005 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.7386, allocations: 117.2 kB / 1.005 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.7388, allocations: 161.1 kB / 1.005 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.74, allocations: 0.7217 MB / 1.006 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.74, allocations: 0.5625 kB / 1.006 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.74, allocations: 0 / 1.006 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.74, allocations: 1.688 kB / 1.006 GB, free: 2.934 MB / 0.7169 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.001133/0.7412, allocations: 0.5932 MB / 1.007 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.7412, allocations: 11.62 kB / 1.007 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.905e-05/0.7413, allocations: 60.91 kB / 1.007 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.7425, allocations: 153.2 kB / 1.007 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.7432, allocations: 262.8 kB / 1.007 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.7432, allocations: 20.69 kB / 1.007 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.7433, allocations: 22.88 kB / 1.007 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.7438, allocations: 272.9 kB / 1.007 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.7438, allocations: 0.5312 kB / 1.007 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.7438, allocations: 13.03 kB / 1.007 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.7439, allocations: 6.188 kB / 1.007 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005151/0.7444, allocations: 196.1 kB / 1.008 GB, free: 18.22 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.7461, allocations: 1.179 MB / 1.009 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.7463, allocations: 127.2 kB / 1.009 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.7464, allocations: 84.95 kB / 1.009 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/0.7469, allocations: 73.45 kB / 1.009 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.7469, allocations: 35.72 kB / 1.009 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.7469, allocations: 1.156 kB / 1.009 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007217/0.7476, allocations: 289 kB / 1.009 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.7477, allocations: 54.62 kB / 1.009 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.748, allocations: 316.3 kB / 1.01 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.748, allocations: 30.02 kB / 1.01 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.7482, allocations: 181.7 kB / 1.01 GB, free: 17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.7482, allocations: 58.27 kB / 1.01 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.7483, allocations: 44.69 kB / 1.01 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.7484, allocations: 341.2 kB / 1.01 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.7486, allocations: 67.02 kB / 1.01 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.7487, allocations: 117.5 kB / 1.011 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.7491, allocations: 195.2 kB / 1.011 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7491, allocations: 1.938 kB / 1.011 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004429/0.7495, allocations: 236.3 kB / 1.011 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.7495, allocations: 5.219 kB / 1.011 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7495, allocations: 2.969 kB / 1.011 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.7495, allocations: 6.25 kB / 1.011 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.7497, allocations: 49.3 kB / 1.011 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7497, allocations: 2.641 kB / 1.011 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.75, allocations: 29.86 kB / 1.011 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.75, allocations: 11.25 kB / 1.011 GB, free: 16.47 MB / 0.7325 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.0001387/0.7501, allocations: 154.3 kB / 1.011 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.7502, allocations: 30.56 kB / 1.011 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.7506, allocations: 216 kB / 1.011 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.7506, allocations: 6.984 kB / 1.011 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7506, allocations: 0 / 1.011 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7506, allocations: 4.953 kB / 1.011 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/0.7515, allocations: 0.6579 MB / 1.012 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7515, allocations: 2.5 kB / 1.012 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.7517, allocations: 33.62 kB / 1.012 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.7517, allocations: 3.75 kB / 1.012 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.7517, allocations: 14.44 kB / 1.012 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7517, allocations: 2.75 kB / 1.012 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7517, allocations: 2.344 kB / 1.012 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.7523, allocations: 432.2 kB / 1.013 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/0.7524, allocations: 44.3 kB / 1.013 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.7524, allocations: 12.09 kB / 1.013 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.7526, allocations: 12.91 kB / 1.013 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.7526, allocations: 15.56 kB / 1.013 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.7526, allocations: 4.969 kB / 1.013 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001882/0.7528, allocations: 226.7 kB / 1.013 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7528, allocations: 1.156 kB / 1.013 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004057/0.7532, allocations: 81.64 kB / 1.013 GB, free: 15.65 MB / 0.7325 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.001126/0.7543, allocations: 1.025 MB / 1.014 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.7548, allocations: 163.2 kB / 1.014 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7548, allocations: 2.156 kB / 1.014 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.7549, allocations: 81.91 kB / 1.014 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009016/0.7558, allocations: 166.6 kB / 1.014 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.7595, allocations: 2.926 MB / 1.017 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.7599, allocations: 0.7776 MB / 1.018 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.7601, allocations: 62.47 kB / 1.018 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.7602, allocations: 91.2 kB / 1.018 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.7602, allocations: 0.5938 kB / 1.018 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.7965, allocations: 9.063 MB / 1.027 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.08, allocations: 18.94 kB / 1.027 GB, free: 11.88 MB / 0.7325 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.112383813000633] Failed to read output from testmodel.py, exit status != 0: 11.18709659399974 11.198894585 10.456353232 Calling exit ...