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.001258/0.001258, allocations: 107.1 kB / 16.45 MB, free: 6.453 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.001325/0.001325, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.365/1.365, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002356/0.002356, allocations: 281.4 kB / 309.1 MB, free: 3.949 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.182/1.182, allocations: 180.9 MB / 0.5333 GB, free: 13.7 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002674/0.002674, allocations: 109.1 kB / 0.7343 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1844, allocations: 95.34 MB / 0.8274 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.589/0.7734, allocations: 170.8 MB / 0.9942 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.7759, allocations: 1.55 MB / 0.9957 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.7762, allocations: 17.16 kB / 0.9957 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.7767, allocations: 153.1 kB / 0.9958 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.7783, allocations: 0.7371 MB / 0.9966 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.7798, allocations: 0.6059 MB / 0.9971 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00084/0.7807, allocations: 0.7034 MB / 0.9978 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.781, allocations: 199.8 kB / 0.998 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005576/0.7816, allocations: 345.2 kB / 0.9984 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.7819, allocations: 234 kB / 0.9986 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.7819, allocations: 22.41 kB / 0.9986 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.7834, allocations: 0.9315 MB / 0.9995 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.7835, allocations: 109.2 kB / 0.9996 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.7837, allocations: 165.9 kB / 0.9998 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.7849, allocations: 0.7229 MB / 1 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7849, allocations: 0 / 1 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7849, allocations: 1.188 kB / 1 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.7849, allocations: 0.5938 kB / 1 GB, free: 3.133 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.001215/0.7861, allocations: 0.6599 MB / 1.001 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.7862, allocations: 10.06 kB / 1.001 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.7862, allocations: 62.69 kB / 1.001 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.7874, allocations: 152.6 kB / 1.001 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.788, allocations: 330.1 kB / 1.002 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.788, allocations: 16.62 kB / 1.002 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.7881, allocations: 23.16 kB / 1.002 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.7886, allocations: 277.4 kB / 1.002 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.7887, allocations: 0 / 1.002 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.7887, allocations: 18.09 kB / 1.002 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.7887, allocations: 6 kB / 1.002 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.7892, allocations: 193.5 kB / 1.002 GB, free: 18.26 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.0015/0.7907, allocations: 1.21 MB / 1.003 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.791, allocations: 131.6 kB / 1.003 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.7912, allocations: 88.2 kB / 1.004 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006405/0.7918, allocations: 304.9 kB / 1.004 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.7919, allocations: 36 kB / 1.004 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.7919, allocations: 0 / 1.004 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007695/0.7926, allocations: 285.2 kB / 1.004 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.7927, allocations: 52.78 kB / 1.004 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.793, allocations: 320.3 kB / 1.005 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.793, allocations: 32.02 kB / 1.005 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.7931, allocations: 177.2 kB / 1.005 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.7932, allocations: 61.39 kB / 1.005 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.7932, allocations: 41.03 kB / 1.005 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7934, allocations: 344.2 kB / 1.005 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.7935, allocations: 67.77 kB / 1.005 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.7937, allocations: 118.9 kB / 1.005 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.7941, allocations: 195.2 kB / 1.005 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7941, allocations: 1.906 kB / 1.005 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004434/0.7945, allocations: 235.5 kB / 1.006 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.7945, allocations: 7.703 kB / 1.006 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7945, allocations: 1.281 kB / 1.006 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.7945, allocations: 6.219 kB / 1.006 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.7947, allocations: 46.2 kB / 1.006 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.7947, allocations: 3.188 kB / 1.006 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.7949, allocations: 32.89 kB / 1.006 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.795, allocations: 7.219 kB / 1.006 GB, free: 16.18 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.0001567/0.7951, allocations: 155.4 kB / 1.006 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.7952, allocations: 30.19 kB / 1.006 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/0.7956, allocations: 225.6 kB / 1.006 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7956, allocations: 3.688 kB / 1.006 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7956, allocations: 1.203 kB / 1.006 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.7957, allocations: 0 / 1.006 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009375/0.7966, allocations: 0.687 MB / 1.007 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7966, allocations: 2.594 kB / 1.007 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.7968, allocations: 32.56 kB / 1.007 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.7968, allocations: 3.5 kB / 1.007 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.7968, allocations: 11.41 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.7968, allocations: 3.344 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7968, allocations: 2.188 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.7974, allocations: 437.4 kB / 1.007 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.7975, allocations: 129.2 kB / 1.007 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.7975, allocations: 8.469 kB / 1.007 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.7977, allocations: 10.91 kB / 1.008 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.7978, allocations: 15.09 kB / 1.008 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.7978, allocations: 6.531 kB / 1.008 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001986/0.798, allocations: 225 kB / 1.008 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.798, allocations: 2.125 kB / 1.008 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004045/0.7984, allocations: 80.89 kB / 1.008 GB, free: 15.24 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.001049/0.7994, allocations: 1.027 MB / 1.009 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.7998, allocations: 166.3 kB / 1.009 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.7998, allocations: 0 / 1.009 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.8, allocations: 88.09 kB / 1.009 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.8008, allocations: 166 kB / 1.009 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.8047, allocations: 2.915 MB / 1.012 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.8051, allocations: 0.7758 MB / 1.013 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002327/0.8053, allocations: 64.03 kB / 1.013 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.8055, allocations: 88.28 kB / 1.013 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/0.8055, allocations: 0 / 1.013 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.8394, allocations: 8.861 MB / 1.022 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.835, allocations: 8.469 kB / 1.022 GB, free: 11.48 MB / 0.7325 GB " [Timeout remaining time 651] (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: 12.87104827305302] Failed to read output from testmodel.py, exit status != 0: 8.90492680016905 8.915239786 8.128078272 Calling exit ...