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.001013/0.001013, allocations: 89.06 kB / 19.64 MB, free: 276 kB / 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.001315/0.001315, allocations: 173 kB / 23.02 MB, free: 1.543 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.9827/0.9827, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001841/0.001841, allocations: 227.6 kB / 260.2 MB, free: 12.83 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.7558/0.7558, allocations: 138.4 MB / 455.2 MB, free: 30.02 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: 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.462e-06/1.462e-06, allocations: 0 / 0.5551 GB, free: 144 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.663e-05, allocations: 2.859 kB / 0.5551 GB, free: 140 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4143/0.4144, allocations: 146.5 MB / 0.6982 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.4164, allocations: 1.265 MB / 0.6995 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.4167, allocations: 20.53 kB / 0.6995 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.4171, allocations: 86.55 kB / 0.6996 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009593/0.418, allocations: 389.7 kB / 0.6999 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.4191, allocations: 461 kB / 0.7004 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008648/0.4199, allocations: 0.7049 MB / 0.7011 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.4203, allocations: 185.3 kB / 0.7012 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000674/0.421, allocations: 381.4 kB / 0.7016 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.4213, allocations: 202.3 kB / 0.7018 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.4214, allocations: 22.25 kB / 0.7018 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006807/0.4221, allocations: 305.3 kB / 0.7021 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.4222, allocations: 113.8 kB / 0.7022 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.4223, allocations: 118.5 kB / 0.7023 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.423, allocations: 437.3 kB / 0.7027 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.423, allocations: 0 / 0.7027 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.084e-06/0.423, allocations: 0 / 0.7027 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.423, allocations: 4 kB / 0.7028 GB, free: 51.25 MB / 0.5573 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.000766/0.4238, allocations: 0.6509 MB / 0.7034 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4238, allocations: 14.08 kB / 0.7034 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007293/0.4245, allocations: 207.3 kB / 0.7036 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.4249, allocations: 264.7 kB / 0.7039 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.4249, allocations: 20.66 kB / 0.7039 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.425, allocations: 21.62 kB / 0.7039 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.4253, allocations: 234.1 kB / 0.7041 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4253, allocations: 0 / 0.7041 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.4253, allocations: 8.844 kB / 0.7041 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.4254, allocations: 5.719 kB / 0.7041 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.4255, allocations: 95.62 kB / 0.7042 GB, free: 50.41 MB / 0.5573 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.0009071/0.4264, allocations: 1.138 MB / 0.7053 GB, free: 49.47 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4266, allocations: 89.34 kB / 0.7054 GB, free: 49.42 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.4266, allocations: 40.25 kB / 0.7055 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.4269, allocations: 50.11 kB / 0.7055 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.4269, allocations: 43.77 kB / 0.7055 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 2.274e-06/0.4269, allocations: 0 / 0.7055 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0004164/0.4273, allocations: 156 kB / 0.7057 GB, free: 49.28 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.4274, allocations: 57.5 kB / 0.7057 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4276, allocations: 296.6 kB / 0.706 GB, free: 49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.4276, allocations: 26.83 kB / 0.7061 GB, free: 48.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.4277, allocations: 232.1 kB / 0.7063 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.4277, allocations: 60.77 kB / 0.7063 GB, free: 48.72 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.4278, allocations: 56.69 kB / 0.7064 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.4278, allocations: 0.5017 MB / 0.7069 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-05/0.4279, allocations: 24.83 kB / 0.7069 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.428, allocations: 169.6 kB / 0.7071 GB, free: 48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.4281, allocations: 121.9 kB / 0.7072 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4281, allocations: 0 / 0.7072 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002187/0.4283, allocations: 170.1 kB / 0.7073 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4284, allocations: 6.562 kB / 0.7073 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4284, allocations: 1.062 kB / 0.7073 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4284, allocations: 2.188 kB / 0.7074 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.4285, allocations: 40.45 kB / 0.7074 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4285, allocations: 2.281 kB / 0.7074 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.795e-05/0.4286, allocations: 17.83 kB / 0.7074 GB, free: 47.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.4286, allocations: 10.53 kB / 0.7074 GB, free: 47.8 MB / 0.5573 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 8.003e-05/0.4287, allocations: 171.4 kB / 0.7076 GB, free: 47.63 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.4288, allocations: 38.47 kB / 0.7076 GB, free: 47.61 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.429, allocations: 137 kB / 0.7077 GB, free: 47.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.429, allocations: 2.188 kB / 0.7078 GB, free: 47.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.429, allocations: 0 / 0.7078 GB, free: 47.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.429, allocations: 2.953 kB / 0.7078 GB, free: 47.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.4295, allocations: 0.5589 MB / 0.7083 GB, free: 47.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4295, allocations: 7.594 kB / 0.7083 GB, free: 47.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.4296, allocations: 31.27 kB / 0.7083 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.4296, allocations: 2 kB / 0.7083 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4297, allocations: 7.281 kB / 0.7083 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.4297, allocations: 8.125 kB / 0.7084 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4297, allocations: 3.531 kB / 0.7084 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.43, allocations: 356.3 kB / 0.7087 GB, free: 46.76 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.43, allocations: 39.7 kB / 0.7087 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.4301, allocations: 8.438 kB / 0.7087 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.4301, allocations: 13.61 kB / 0.7088 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.4302, allocations: 16.44 kB / 0.7088 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.4302, allocations: 5.031 kB / 0.7088 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001011/0.4303, allocations: 205.2 kB / 0.709 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4303, allocations: 0 / 0.709 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000324/0.4306, allocations: 90.86 kB / 0.7091 GB, free: 46.55 MB / 0.5573 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.0002308/0.4309, allocations: 135.7 kB / 0.7092 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.4311, allocations: 95.56 kB / 0.7093 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4311, allocations: 1.375 kB / 0.7093 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.456e-05/0.4311, allocations: 56.77 kB / 0.7093 GB, free: 46.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.4316, allocations: 122.2 kB / 0.7095 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4328, allocations: 0.5654 MB / 0.71 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.577e-05/0.4328, allocations: 101.5 kB / 0.7101 GB, free: 45.88 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.433, allocations: 53.08 kB / 0.7102 GB, free: 45.87 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.433, allocations: 21.72 kB / 0.7102 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of SimCode: time 1.202e-06/0.433, allocations: 1.281 kB / 0.7102 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of Templates: time 0.008763/0.4418, allocations: 4.991 MB / 0.715 GB, free: 45.35 MB / 0.5573 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.198662467766553]