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.000698/0.000698, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007827/0.0007827, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9128/0.9128, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001532/0.001532, allocations: 221.7 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6689/0.6689, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.813e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4007/0.4007, allocations: 147.6 MB / 0.7904 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.4026, allocations: 1.478 MB / 0.7919 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.4029, allocations: 15.81 kB / 0.7919 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.4034, allocations: 162.7 kB / 0.792 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.4046, allocations: 0.7229 MB / 0.7927 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.4056, allocations: 0.6505 MB / 0.7934 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006012/0.4062, allocations: 0.7133 MB / 0.7941 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/0.4068, allocations: 173.4 kB / 0.7942 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.4073, allocations: 442.7 kB / 0.7946 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.4075, allocations: 191.4 kB / 0.7948 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.4075, allocations: 24 kB / 0.7949 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006914/0.4082, allocations: 0.732 MB / 0.7956 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.575e-05/0.4083, allocations: 115.6 kB / 0.7957 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.4084, allocations: 115.7 kB / 0.7958 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000651/0.409, allocations: 0.7362 MB / 0.7965 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.409, allocations: 0 / 0.7965 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.409, allocations: 0 / 0.7965 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.4091, allocations: 0 / 0.7965 GB, free: 1.254 MB / 0.6198 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.0006667/0.4097, allocations: 0.5828 MB / 0.7971 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4098, allocations: 9.938 kB / 0.7971 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.4098, allocations: 63.2 kB / 0.7971 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005993/0.4104, allocations: 151.6 kB / 0.7973 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.4108, allocations: 256.6 kB / 0.7975 GB, free: 144 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4108, allocations: 20.5 kB / 0.7976 GB, free: 124 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.4108, allocations: 24 kB / 0.7976 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.4112, allocations: 275.5 kB / 0.7978 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4112, allocations: 0 / 0.7978 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.4112, allocations: 20.58 kB / 0.7979 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4112, allocations: 4 kB / 0.7979 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.4114, allocations: 195.8 kB / 0.7981 GB, free: 15.6 MB / 0.6355 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.0009044/0.4123, allocations: 0.9785 MB / 0.799 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.4125, allocations: 130.5 kB / 0.7991 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.4126, allocations: 84.8 kB / 0.7992 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.4129, allocations: 74.67 kB / 0.7993 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4129, allocations: 38.34 kB / 0.7993 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.4129, allocations: 0 / 0.7993 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004627/0.4134, allocations: 289.5 kB / 0.7996 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.4134, allocations: 55.41 kB / 0.7997 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.4136, allocations: 316.5 kB / 0.8 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4137, allocations: 33.64 kB / 0.8 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4138, allocations: 180.3 kB / 0.8002 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.4138, allocations: 51.53 kB / 0.8002 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.4139, allocations: 49.66 kB / 0.8003 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.414, allocations: 338.8 kB / 0.8006 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.957e-05/0.4141, allocations: 63.95 kB / 0.8006 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.4142, allocations: 203.3 kB / 0.8008 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.4144, allocations: 190.1 kB / 0.801 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4144, allocations: 3.938 kB / 0.801 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005438/0.415, allocations: 247.1 kB / 0.8013 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.415, allocations: 4.625 kB / 0.8013 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.415, allocations: 0 / 0.8013 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.415, allocations: 4 kB / 0.8013 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.4151, allocations: 47.91 kB / 0.8013 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4151, allocations: 4 kB / 0.8013 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.573e-05/0.4152, allocations: 29.16 kB / 0.8013 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.4152, allocations: 11.98 kB / 0.8013 GB, free: 12.04 MB / 0.6355 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.0001048/0.4153, allocations: 154.4 kB / 0.8015 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.4154, allocations: 31.88 kB / 0.8015 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.4157, allocations: 217.5 kB / 0.8017 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4157, allocations: 4 kB / 0.8017 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4157, allocations: 2.25 kB / 0.8017 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4157, allocations: 0 / 0.8017 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/0.4163, allocations: 0.6319 MB / 0.8024 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4163, allocations: 0 / 0.8024 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.734e-05/0.4164, allocations: 31.92 kB / 0.8024 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4164, allocations: 4 kB / 0.8024 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.4164, allocations: 8 kB / 0.8024 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4164, allocations: 7.938 kB / 0.8024 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4164, allocations: 0 / 0.8024 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.4168, allocations: 434.4 kB / 0.8028 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.4168, allocations: 51.72 kB / 0.8029 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.4169, allocations: 4 kB / 0.8029 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.4169, allocations: 11.94 kB / 0.8029 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.417, allocations: 23.84 kB / 0.8029 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.417, allocations: 4 kB / 0.8029 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001346/0.4171, allocations: 229.7 kB / 0.8031 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4171, allocations: 0 / 0.8031 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000236/0.4174, allocations: 84 kB / 0.8032 GB, free: 10.02 MB / 0.6355 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.0006758/0.418, allocations: 1.001 MB / 0.8042 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.4183, allocations: 173.9 kB / 0.8044 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4183, allocations: 0 / 0.8044 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.4184, allocations: 84.92 kB / 0.8044 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.4189, allocations: 171.5 kB / 0.8046 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.4212, allocations: 2.884 MB / 0.8074 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.4213, allocations: 175.1 kB / 0.8076 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.4214, allocations: 62.94 kB / 0.8076 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.4215, allocations: 84.47 kB / 0.8077 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of SimCode: time 1.103e-06/0.4215, allocations: 0 / 0.8077 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.4436, allocations: 10.12 MB / 0.8176 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/7.068, allocations: 6.344 kB / 0.8176 GB, free: 11.46 MB / 0.6511 GB " [Timeout remaining time 653] (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: 9.773839369416237] Failed to read output from testmodel.py, exit status != 0: 7.149700607173145 7.158140853 6.747093866 Calling exit ...