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.001227/0.001227, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.00128/0.00128, allocations: 212 kB / 20.13 MB, free: 2.949 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.386/1.386, 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/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.002407/0.002407, allocations: 292.5 kB / 309.8 MB, free: 3.477 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.036/1.036, allocations: 180.6 MB / 0.5338 GB, free: 12.43 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",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.002886/0.002886, allocations: 104.2 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4715, allocations: 95.35 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1994/0.6709, allocations: 170.8 MB / 0.9946 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002748/0.6737, allocations: 1.551 MB / 0.9961 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.674, allocations: 19.81 kB / 0.9961 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.6745, allocations: 146.8 kB / 0.9963 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.6763, allocations: 0.7391 MB / 0.997 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.6777, allocations: 0.6082 MB / 0.9976 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008847/0.6786, allocations: 0.7051 MB / 0.9983 GB, free: 11 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.679, allocations: 199.9 kB / 0.9985 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006212/0.6796, allocations: 346.7 kB / 0.9988 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.6799, allocations: 231 kB / 0.999 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.6799, allocations: 24 kB / 0.999 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.6814, allocations: 0.9273 MB / 1 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.6816, allocations: 115.6 kB / 1 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.6817, allocations: 159.2 kB / 1 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.6827, allocations: 0.7242 MB / 1.001 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.6827, allocations: 0 / 1.001 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6827, allocations: 0 / 1.001 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.6828, allocations: 0 / 1.001 GB, free: 8.289 MB / 0.7325 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.001015/0.6838, allocations: 0.6692 MB / 1.002 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.6838, allocations: 8.031 kB / 1.002 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.208e-05/0.6838, allocations: 8.438 kB / 1.002 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.6839, allocations: 54.53 kB / 1.002 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.685, allocations: 155.6 kB / 1.002 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.6855, allocations: 325.8 kB / 1.002 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.6855, allocations: 16.44 kB / 1.002 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.6856, allocations: 24 kB / 1.002 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.6861, allocations: 287.4 kB / 1.002 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6861, allocations: 0 / 1.002 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.6861, allocations: 8 kB / 1.002 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.6861, allocations: 8 kB / 1.002 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.6866, allocations: 191.8 kB / 1.003 GB, free: 6.438 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.001407/0.688, allocations: 1.206 MB / 1.004 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.6883, allocations: 138.4 kB / 1.004 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.6884, allocations: 94.56 kB / 1.004 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005745/0.689, allocations: 303.2 kB / 1.004 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.689, allocations: 34.56 kB / 1.004 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.689, allocations: 0 / 1.004 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007641/0.6898, allocations: 277.3 kB / 1.005 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.6898, allocations: 51.69 kB / 1.005 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.6902, allocations: 328.4 kB / 1.005 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.6902, allocations: 25.7 kB / 1.005 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.6904, allocations: 184.3 kB / 1.005 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.6904, allocations: 51.59 kB / 1.005 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.6905, allocations: 41.7 kB / 1.005 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6906, allocations: 346.7 kB / 1.006 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.6908, allocations: 67.95 kB / 1.006 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.691, allocations: 126.1 kB / 1.006 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.6914, allocations: 185 kB / 1.006 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6914, allocations: 0 / 1.006 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004759/0.6919, allocations: 244 kB / 1.006 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6919, allocations: 8 kB / 1.006 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6919, allocations: 3.938 kB / 1.006 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6919, allocations: 4 kB / 1.006 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.6921, allocations: 44.06 kB / 1.006 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.6921, allocations: 4 kB / 1.006 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.6923, allocations: 35.77 kB / 1.006 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.6923, allocations: 12 kB / 1.006 GB, free: 2.41 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.0001472/0.6925, allocations: 149.7 kB / 1.006 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.6925, allocations: 31.81 kB / 1.006 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.693, allocations: 219.4 kB / 1.007 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.693, allocations: 7.984 kB / 1.007 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.693, allocations: 0 / 1.007 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.693, allocations: 3.984 kB / 1.007 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.694, allocations: 0.6874 MB / 1.007 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.694, allocations: 0 / 1.007 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.6942, allocations: 35.86 kB / 1.007 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.6942, allocations: 4 kB / 1.007 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.6942, allocations: 8 kB / 1.007 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6942, allocations: 4 kB / 1.007 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6942, allocations: 0 / 1.007 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.6949, allocations: 441.3 kB / 1.008 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.695, allocations: 124.8 kB / 1.008 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.695, allocations: 4 kB / 1.008 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.6952, allocations: 12 kB / 1.008 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.6953, allocations: 11.97 kB / 1.008 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.6953, allocations: 8 kB / 1.008 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002138/0.6955, allocations: 227.1 kB / 1.008 GB, free: 324 kB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.6955, allocations: 0 / 1.008 GB, free: 324 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003745/0.6959, allocations: 91.75 kB / 1.008 GB, free: 232 kB / 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.001118/0.697, allocations: 1.011 MB / 1.009 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.6974, allocations: 167.8 kB / 1.009 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6974, allocations: 0 / 1.009 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.6976, allocations: 88.45 kB / 1.01 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000853/0.6984, allocations: 165.1 kB / 1.01 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.7021, allocations: 2.912 MB / 1.013 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.7025, allocations: 0.7756 MB / 1.013 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.7027, allocations: 66.92 kB / 1.013 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.7028, allocations: 87.41 kB / 1.013 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.7028, allocations: 0 / 1.013 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.7319, allocations: 8.898 MB / 1.022 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/9.051, allocations: 8.641 kB / 1.022 GB, free: 2.055 MB / 0.7481 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.845327722956426] Failed to read output from testmodel.py, exit status != 0: 9.18012502300553 9.194008237 8.508237732 Calling exit ...