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.001166/0.001166, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 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.001189/0.001189, allocations: 173 kB / 24.06 MB, free: 456 kB / 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 1.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001834/0.001834, allocations: 237.6 kB / 261.3 MB, free: 12.67 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.7538/0.7538, allocations: 138.4 MB / 456.3 MB, free: 1.438 MB / 362.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: translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 3.938 kB / 0.5564 GB, free: 276 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.949e-05, allocations: 6.312 kB / 0.5564 GB, free: 268 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.406/0.4061, allocations: 143.8 MB / 0.6968 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.408, allocations: 1.274 MB / 0.6981 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.4082, allocations: 19.81 kB / 0.6981 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.4085, allocations: 79.34 kB / 0.6982 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0006708/0.4091, allocations: 397.8 kB / 0.6985 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000722/0.4099, allocations: 450.8 kB / 0.699 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000585/0.4104, allocations: 0.701 MB / 0.6996 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.4108, allocations: 197.9 kB / 0.6998 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/0.4113, allocations: 363.1 kB / 0.7002 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.4115, allocations: 203.4 kB / 0.7004 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.4115, allocations: 24 kB / 0.7004 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/0.412, allocations: 307.1 kB / 0.7007 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.4121, allocations: 123.6 kB / 0.7008 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.958e-05/0.4121, allocations: 111.8 kB / 0.7009 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.4126, allocations: 434.6 kB / 0.7013 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4126, allocations: 0 / 0.7013 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4126, allocations: 4 kB / 0.7013 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.4126, allocations: 3.938 kB / 0.7013 GB, free: 7.793 MB / 0.5105 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.0005722/0.4132, allocations: 0.6558 MB / 0.702 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4132, allocations: 8.75 kB / 0.702 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/0.4141, allocations: 204.2 kB / 0.7022 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.4144, allocations: 268.2 kB / 0.7024 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.4144, allocations: 16.88 kB / 0.7025 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.4144, allocations: 20.56 kB / 0.7025 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.4147, allocations: 227 kB / 0.7027 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4147, allocations: 0 / 0.7027 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.4147, allocations: 12 kB / 0.7027 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.4147, allocations: 4 kB / 0.7027 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.4148, allocations: 80.5 kB / 0.7028 GB, free: 6.227 MB / 0.5105 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.0007292/0.4155, allocations: 1.087 MB / 0.7038 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.4156, allocations: 71.05 kB / 0.7039 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.4157, allocations: 39.59 kB / 0.704 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.4159, allocations: 51.94 kB / 0.704 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.4159, allocations: 41.38 kB / 0.704 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.4159, allocations: 0 / 0.704 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0003123/0.4162, allocations: 151.5 kB / 0.7042 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.4162, allocations: 59.39 kB / 0.7042 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4164, allocations: 288.2 kB / 0.7045 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.4164, allocations: 29.7 kB / 0.7045 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.4164, allocations: 242.9 kB / 0.7048 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.4165, allocations: 51.53 kB / 0.7048 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.4165, allocations: 55.3 kB / 0.7049 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.4166, allocations: 0.504 MB / 0.7054 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.481e-05/0.4166, allocations: 23.92 kB / 0.7054 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.4167, allocations: 164.1 kB / 0.7055 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.4168, allocations: 109.4 kB / 0.7057 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4168, allocations: 7.938 kB / 0.7057 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001823/0.417, allocations: 145.4 kB / 0.7058 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.417, allocations: 4 kB / 0.7058 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.417, allocations: 0 / 0.7058 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.417, allocations: 4 kB / 0.7058 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4171, allocations: 43.92 kB / 0.7058 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.4171, allocations: 0 / 0.7058 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-05/0.4172, allocations: 20.5 kB / 0.7059 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.4173, allocations: 12 kB / 0.7059 GB, free: 2.844 MB / 0.5105 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 6.747e-05/0.4173, allocations: 176.5 kB / 0.706 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.4174, allocations: 31.81 kB / 0.7061 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.4175, allocations: 126.5 kB / 0.7062 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4175, allocations: 3.984 kB / 0.7062 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4175, allocations: 0 / 0.7062 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4176, allocations: 4 kB / 0.7062 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.418, allocations: 0.5156 MB / 0.7067 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.418, allocations: 0 / 0.7067 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.4181, allocations: 27.98 kB / 0.7067 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4181, allocations: 4 kB / 0.7067 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4181, allocations: 0 / 0.7067 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4181, allocations: 7.938 kB / 0.7067 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4181, allocations: 4 kB / 0.7068 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.4183, allocations: 347.2 kB / 0.7071 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.4184, allocations: 43.72 kB / 0.7071 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.4184, allocations: 12.11 kB / 0.7071 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4185, allocations: 8 kB / 0.7071 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.4186, allocations: 15.92 kB / 0.7072 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.4186, allocations: 8 kB / 0.7072 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.66e-05/0.4186, allocations: 193.1 kB / 0.7074 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.4186, allocations: 0 / 0.7074 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003203/0.4189, allocations: 83.83 kB / 0.7074 GB, free: 1.129 MB / 0.5105 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.0001879/0.4191, allocations: 139.2 kB / 0.7076 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.4193, allocations: 96.17 kB / 0.7077 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4193, allocations: 4 kB / 0.7077 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.4193, allocations: 50.36 kB / 0.7077 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.4199, allocations: 125.4 kB / 0.7078 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.4208, allocations: 0.5747 MB / 0.7084 GB, free: 104 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.206e-05/0.4209, allocations: 92.3 kB / 0.7085 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.421, allocations: 38.52 kB / 0.7085 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.4212, allocations: 158.1 kB / 0.7087 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/0.4212, allocations: 4 kB / 0.7087 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.008491/0.4297, allocations: 5.106 MB / 0.7137 GB, free: 10.87 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.087160991039127]